Skip to content

Commit

Permalink
Merge pull request sonata-project#508 from tarjei/patch-2
Browse files Browse the repository at this point in the history
line 29: Make required not show for each option in a radio list
  • Loading branch information
rande committed Jan 23, 2012
2 parents 1d244e6 + 326a490 commit 0846591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/Form/form_admin_fields.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ file that was distributed with this source code.
{% else %}
{{- label|trans({}, sonata_admin.admin.translationDomain) -}}
{% endif%}
{{ required ? '*' : '' }}
</span>
</label>
{% else %}
Expand All @@ -46,6 +45,7 @@ file that was distributed with this source code.
{% spaceless %}
id="{{ id }}"
{% for attrname,attrvalue in attr %}{{attrname}}="{% if attrname == 'class' %}inputs-list {% endif%}{{attrvalue}}" {% endfor %}
{% if "class" not in attr %}class="inputs-list"{%endif %}
{% endspaceless %}
{% endblock %}

Expand Down

0 comments on commit 0846591

Please sign in to comment.