X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fnew_form.html.twig;h=0cf4fb7462ab6f88112e947c319821f6c160255c;hb=1dd76ac650282a3c395513f3b80a59eed01e4f07;hp=1a3ab86d846fd06aef299568f09f04ff8c5a96cf;hpb=496f21e6faed1d06623221dabb35d1f3ce8fc8c2;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 1a3ab86d..0cf4fb74 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,13 @@
+ {% 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) }} - - + {{ form_rest(form) }}