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=293730656d696dab8cdbc8447a0e970a58ff77d2;hp=f1e5641265cfb4e0ff3e8fa2309156a4b6ab41f1;hpb=f6249b67f66371b70a9c5a076ed03e5653c1330e;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 f1e56412..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': 'http://website'} }) }} + {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'} }) }} + clear - + {{ form_rest(form) }}