Change serializer field help_text rendering in browsable api (#3812)

This commit is contained in:
Sergei Sinitsyn 2016-06-02 19:21:57 +05:00 committed by Tom Christie
parent 75751cc64e
commit 94863ee6d0
15 changed files with 15 additions and 15 deletions

View File

@ -15,7 +15,7 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>
</div>

View File

@ -31,7 +31,7 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>
</div>

View File

@ -15,7 +15,7 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>
</div>

View File

@ -49,7 +49,7 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>
</div>

View File

@ -28,7 +28,7 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>
</div>

View File

@ -30,7 +30,7 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>
</div>

View File

@ -15,7 +15,7 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>
</div>

View File

@ -5,7 +5,7 @@
{{ field.label_tag|add_class:"col-sm-2 control-label" }}
<div class="col-sm-10">
{{ field|add_class:"form-control" }}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
</div>
</div>
{% endfor %}

View File

@ -13,6 +13,6 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>

View File

@ -30,6 +30,6 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>

View File

@ -12,6 +12,6 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>

View File

@ -51,6 +51,6 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>

View File

@ -27,6 +27,6 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>

View File

@ -27,6 +27,6 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>

View File

@ -12,6 +12,6 @@
{% endif %}
{% if field.help_text %}
<span class="help-block">{{ field.help_text }}</span>
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>