Skip to content

Commit

Permalink
Merge pull request #351 from netoarmando/develop
Browse files Browse the repository at this point in the history
Fix readonly fields ignoring newlines in fieldset template
  • Loading branch information
darklow committed Mar 19, 2015
2 parents 1a3455f + 39a96e4 commit 503b94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suit/templates/admin/includes/fieldset.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h2 class="legend">{{ fieldset.name }}
{% endif %}

{% if field.is_readonly %}
<span class="readonly">{{ field|field_contents_foreign_linked }}</span>
<span class="readonly">{{ field|field_contents_foreign_linked|linebreaksbr }}</span>
{% else %}
{{ field.field }}
{% endif %}
Expand Down

0 comments on commit 503b94b

Please sign in to comment.