]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/symfony/twig-bridge/Symfony/Bridge/Twig/Tests/Extension/custom_widgets.html.twig
twig implementation
[github/wallabag/wallabag.git] / vendor / symfony / twig-bridge / Symfony / Bridge / Twig / Tests / Extension / custom_widgets.html.twig
1 {% block _text_id_widget %}
2 {% spaceless %}
3 <div id="container">
4 {{ form_widget(form) }}
5 </div>
6 {% endspaceless %}
7 {% endblock _text_id_widget %}
8
9 {% block _name_entry_label %}
10 {% spaceless %}
11 {% if label is empty %}
12 {% set label = name|humanize %}
13 {% endif %}
14 <label>Custom label: {{ label|trans({}, translation_domain) }}</label>
15 {% endspaceless %}
16 {% endblock _name_entry_label %}