Skip to content

Commit

Permalink
Update fields.html.twig
Browse files Browse the repository at this point in the history
  • Loading branch information
nilov authored Jun 22, 2017
1 parent 4faf9d4 commit b4a12c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/Form/fields.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% block bs_static_raw_widget %}
{% set attr = attr|merge({ 'class': (attr.class|default('') ~ ' form-control-static')|trim }) %}
<p id="{{ id }}" {%- for attrname, attrvalue in attr %} {{ attrname }}="{{ attrvalue }}"{% endfor %}>{{ value|raw }}</p>
<div id="{{ id }}" {%- for attrname, attrvalue in attr %} {{ attrname }}="{{ attrvalue }}"{% endfor %}>{{ value|raw }}</div>
{% endblock %}

0 comments on commit b4a12c2

Please sign in to comment.