List serializer no explicitly renders as 'not supported for HTML input'

This commit is contained in:
Tom Christie 2014-11-18 17:25:05 +00:00
parent c0d356edaa
commit f573aaee4e
3 changed files with 5 additions and 0 deletions

View File

@ -5,9 +5,12 @@
<legend class="control-label col-sm-2 {% if style.hide_label %}sr-only{% endif %}" style="border-bottom: 0">{{ field.label }}</legend> <legend class="control-label col-sm-2 {% if style.hide_label %}sr-only{% endif %}" style="border-bottom: 0">{{ field.label }}</legend>
</div> </div>
{% endif %} {% endif %}
<!--
<ul> <ul>
{% for child in field.value %} {% for child in field.value %}
<li>TODO</li> <li>TODO</li>
{% endfor %} {% endfor %}
</ul> </ul>
-->
<p>Lists are not currently supported in HTML input.</p>
</fieldset> </fieldset>

View File

@ -0,0 +1 @@
<span>Lists are not currently supported in HTML input.</span>

View File

@ -4,4 +4,5 @@
{% for field_item in field.value.field_items.values() %} {% for field_item in field.value.field_items.values() %}
{{ renderer.render_field(field_item, layout=layout) }} {{ renderer.render_field(field_item, layout=layout) }}
{% endfor %} --> {% endfor %} -->
<p>Lists are not currently supported in HTML input.</p>
</fieldset> </fieldset>