diff options
Diffstat (limited to 'src/Acme/DemoBundle/Resources/views/Demo/index.html.twig')
-rw-r--r-- | src/Acme/DemoBundle/Resources/views/Demo/index.html.twig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Acme/DemoBundle/Resources/views/Demo/index.html.twig b/src/Acme/DemoBundle/Resources/views/Demo/index.html.twig new file mode 100644 index 00000000..454a3203 --- /dev/null +++ b/src/Acme/DemoBundle/Resources/views/Demo/index.html.twig | |||
@@ -0,0 +1,14 @@ | |||
1 | {% extends "AcmeDemoBundle::layout.html.twig" %} | ||
2 | |||
3 | {% block title "Symfony - Demos" %} | ||
4 | |||
5 | {% block content_header '' %} | ||
6 | |||
7 | {% block content %} | ||
8 | <h1 class="title">Available demos</h1> | ||
9 | <ul id="demo-list"> | ||
10 | <li><a href="{{ path('_demo_hello', {'name': 'World'}) }}">Hello World</a></li> | ||
11 | <li><a href="{{ path('_demo_secured_hello', {'name': 'World'}) }}">Access the secured area</a> <a href="{{ path('_demo_login') }}">Go to the login page</a></li> | ||
12 | {# <li><a href="{{ path('_demo_contact') }}">Send a Message</a></li> #} | ||
13 | </ul> | ||
14 | {% endblock %} | ||