Created
August 23, 2012 16:37
-
-
Save baldurrensch/3438451 to your computer and use it in GitHub Desktop.
Another Form Theming
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% block choice_widget %} | |
{% spaceless %} | |
<div class="control-group"> | |
{% for child in form %} | |
{{ form_label(child) }} | |
{{ form_widget(child) }}</label> | |
{% endfor %} | |
</div> | |
{% endspaceless %} | |
{% endblock %} | |
{% block generic_label %} | |
{% spaceless %} | |
<label class="checkbox">{{ label|trans|raw }} | |
{% endspaceless %} | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment