X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fnew_form.html.twig;h=e0d5e7940147957855b985129ae960a7cffe351b;hb=fd637b9a5af28d432f775297ff19ba3f779d55b2;hp=2de531064ccd9404c00fdef99dffcd62036f109c;hpb=06c190887fd38c314db8d240ab2e46f5777ed59e;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 2de53106..e0d5e794 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,15 @@ -
+ + {% 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'} }) }} + clear - {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'http://website' | trans} }) }} - - + {{ form_rest(form) }}