diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-22 08:30:07 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-22 08:30:07 +0100 |
commit | 93fd4692f6eb753cae16358131c8049d84cfbb41 (patch) | |
tree | 1ef2f66eb378cf419d1aa033a2c772539e60537d /src/Acme/DemoBundle/Resources/views/Demo/contact.html.twig | |
parent | 0440249631164a378981d014bf71b617c082bf5a (diff) | |
download | wallabag-93fd4692f6eb753cae16358131c8049d84cfbb41.tar.gz wallabag-93fd4692f6eb753cae16358131c8049d84cfbb41.tar.zst wallabag-93fd4692f6eb753cae16358131c8049d84cfbb41.zip |
symfony is there
Diffstat (limited to 'src/Acme/DemoBundle/Resources/views/Demo/contact.html.twig')
-rw-r--r-- | src/Acme/DemoBundle/Resources/views/Demo/contact.html.twig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Acme/DemoBundle/Resources/views/Demo/contact.html.twig b/src/Acme/DemoBundle/Resources/views/Demo/contact.html.twig new file mode 100644 index 00000000..e5b7523b --- /dev/null +++ b/src/Acme/DemoBundle/Resources/views/Demo/contact.html.twig | |||
@@ -0,0 +1,15 @@ | |||
1 | {% extends "AcmeDemoBundle::layout.html.twig" %} | ||
2 | |||
3 | {% block title "Symfony - Contact form" %} | ||
4 | |||
5 | {% block content %} | ||
6 | <form action="{{ path('_demo_contact') }}" method="POST" id="contact_form"> | ||
7 | {{ form_errors(form) }} | ||
8 | |||
9 | {{ form_row(form.email) }} | ||
10 | {{ form_row(form.message) }} | ||
11 | |||
12 | {{ form_rest(form) }} | ||
13 | <input type="submit" value="Send" class="symfony-button-grey" /> | ||
14 | </form> | ||
15 | {% endblock %} | ||