X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fnew_form.html.twig;fp=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fnew_form.html.twig;h=e0d5e7940147957855b985129ae960a7cffe351b;hb=fd637b9a5af28d432f775297ff19ba3f779d55b2;hp=0cf4fb7462ab6f88112e947c319821f6c160255c;hpb=99e8c2785b9fc0cd9cc8674cb297a13a1035238f;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 0cf4fb74..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,13 +1,15 @@ -
+ {% if form_errors(form) %} {{ form_errors(form) }} {% endif %} + {% if form_errors(form.url) %} {{ form_errors(form.url) }} {% endif %} {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'} }) }} + clear {{ form_rest(form) }}