PHP Classes

File: app/Views/Controller/todo/bb.html.twig

Recommend this page to a friend!
  Classes of Sergey Beskorovayniy  >  Silex MVC Blog  >  app/Views/Controller/todo/bb.html.twig  >  Download  
File: app/Views/Controller/todo/bb.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Silex MVC Blog
MVC based blog using on the Silex micro-framework
Author: By
Last change:
Date: 5 years ago
Size: 874 bytes
 

Contents

Class file image Download
{# app/Views/Controller/todo/index.html.twig #}
{% extends "Layout/base.html.twig" %}

{% block title %}{{ controller|capitalize }}{% endblock title %}
{% block head %}
    {{ parent() }}
    <!-- Add Resources (required) -->
    {% include 'Include/add.resources.html.twig' %}
    <script type="text/javascript">
        BSA.ScriptResources.push('TodoBackbone');
        addScriptParams('TodoBackbone',
                {
                    storage: 'server',// local || server
                    serverStorage: {
                        urlRoot: '/tasks',
                        emulateHTTP: true
                    }
                });
    </script>
{% endblock head %}

{% block page_name %}Backbone.js - TodoMVC{% endblock page_name %}

{% block content %}
    <!-- Todo App -->
    {% include 'Controller/todo/inc/bb/todo_app.html.twig' %}
{% endblock content %}

For more information send a message to info at phpclasses dot org.