X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fnew_form.html.twig;h=42f3c2cf043c2e93f7ddfdc342158f56d34ce5cc;hb=e9e3f938053174b93a0ee246600c5771d801e712;hp=47e3bc781fd9a5706298da9d42d841efd72bc943;hpb=790573d45899504bdecd2573c8f64018e23b139e;p=github%2Fwallabag%2Fwallabag.git 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 index 47e3bc78..42f3c2cf 100644 --- 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 @@ -1,14 +1,14 @@
+ {% if form_errors(form) %} + {{ form_errors(form) }} + {% endif %} + - {% if form_errors(form) %} - {{ form_errors(form) }} - {% endif %} + {% if form_errors(form.url) %} + {{ form_errors(form.url) }} + {% endif %} - {% if form_errors(form.url) %} - {{ form_errors(form.url) }} - {% endif %} + {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'} }) }} - {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'http://website'} }) }} - - + {{ form_rest(form) }}