diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-08-12 10:14:44 +0200 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-08-12 10:14:44 +0200 |
commit | 496f21e6faed1d06623221dabb35d1f3ce8fc8c2 (patch) | |
tree | 8920beb5cfac2ffbfe11e1852a9d814338646b33 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig | |
parent | 930334cd6d486843b536412391a549815efd038e (diff) | |
parent | 053b9568b2e3d032720d405bc1c2b71eccb36714 (diff) | |
download | wallabag-496f21e6faed1d06623221dabb35d1f3ce8fc8c2.tar.gz wallabag-496f21e6faed1d06623221dabb35d1f3ce8fc8c2.tar.zst wallabag-496f21e6faed1d06623221dabb35d1f3ce8fc8c2.zip |
Merge pull request #1319 from wallabag/v2-form-header
add new post form in material header
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig new file mode 100644 index 00000000..1a3ab86d --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig | |||
@@ -0,0 +1,14 @@ | |||
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_widget(form.url) }} | ||
12 | |||
13 | <div class="hidden">{{ form_rest(form) }}</div> | ||
14 | </form> | ||