diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-12 08:22:30 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2015-08-12 09:52:36 +0200 |
commit | 053b9568b2e3d032720d405bc1c2b71eccb36714 (patch) | |
tree | 1bd4241ce05c42d924f0baf34a3d1872ef6a7a4f /src/Wallabag/CoreBundle/Resources/views/Entry/new_form.html.twig | |
parent | fedaf005377e6d62ff0986f7f54afef3287a6451 (diff) | |
download | wallabag-053b9568b2e3d032720d405bc1c2b71eccb36714.tar.gz wallabag-053b9568b2e3d032720d405bc1c2b71eccb36714.tar.zst wallabag-053b9568b2e3d032720d405bc1c2b71eccb36714.zip |
add new post form in material header
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/Entry/new_form.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/Entry/new_form.html.twig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/new_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/new_form.html.twig new file mode 100644 index 00000000..d182d552 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/new_form.html.twig | |||
@@ -0,0 +1,15 @@ | |||
1 | <form name="entry" method="post" action="{{ path('new_entry')}}"> | ||
2 | |||
3 | {% if form_errors(form) %} | ||
4 | <span class="black-text">{{ form_errors(form) }}</span> | ||
5 | {% endif %} | ||
6 | |||
7 | {% if form_errors(form.url) %} | ||
8 | <span class="black-text">{{ form_errors(form.url) }}</span> | ||
9 | {% endif %} | ||
10 | |||
11 | {{ form_label(form.url) }} | ||
12 | {{ form_widget(form.url) }} | ||
13 | |||
14 | <div class="hidden">{{ form_rest(form) }}</div> | ||
15 | </form> | ||