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=2831e77cce6eae213c0cec8f5a90a6a00c383633;hp=1a3ab86d846fd06aef299568f09f04ff8c5a96cf;hpb=053b9568b2e3d032720d405bc1c2b71eccb36714;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..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) }} - - + {{ form_rest(form) }}