aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Acme/DemoBundle/Resources/views/Secured/hello.html.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-22 08:30:07 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-22 08:30:07 +0100
commit93fd4692f6eb753cae16358131c8049d84cfbb41 (patch)
tree1ef2f66eb378cf419d1aa033a2c772539e60537d /src/Acme/DemoBundle/Resources/views/Secured/hello.html.twig
parent0440249631164a378981d014bf71b617c082bf5a (diff)
downloadwallabag-93fd4692f6eb753cae16358131c8049d84cfbb41.tar.gz
wallabag-93fd4692f6eb753cae16358131c8049d84cfbb41.tar.zst
wallabag-93fd4692f6eb753cae16358131c8049d84cfbb41.zip
symfony is there
Diffstat (limited to 'src/Acme/DemoBundle/Resources/views/Secured/hello.html.twig')
-rw-r--r--src/Acme/DemoBundle/Resources/views/Secured/hello.html.twig11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Acme/DemoBundle/Resources/views/Secured/hello.html.twig b/src/Acme/DemoBundle/Resources/views/Secured/hello.html.twig
new file mode 100644
index 00000000..faf95cf8
--- /dev/null
+++ b/src/Acme/DemoBundle/Resources/views/Secured/hello.html.twig
@@ -0,0 +1,11 @@
1{% extends "AcmeDemoBundle:Secured:layout.html.twig" %}
2
3{% block title "Hello " ~ name %}
4
5{% block content %}
6 <h1 class="title">Hello {{ name }}!</h1>
7
8 <a href="{{ path('_demo_secured_hello_admin', { 'name': name }) }}">Hello resource secured for <strong>admin</strong> only.</a>
9{% endblock %}
10
11{% set code = code(_self) %}