added example of iconfield

This commit is contained in:
Dave Cranwell 2014-06-06 14:44:44 +01:00
parent 7415f07d2a
commit 38e4e6d361

View file

@ -240,6 +240,8 @@
{% for field in example_form %}
{% if field.name == 'file' %}
{% include "wagtailimages/images/_file_field.html" %}
{% elif field.name == 'date' %}
{% include "wagtailadmin/shared/field_as_li.html" with input_classes="iconfield icon-date" %}
{% else %}
{% include "wagtailadmin/shared/field_as_li.html" %}
{% endif %}
@ -254,8 +256,6 @@
<h3>Time picker</h3>
<div class="timepicker"></div>
<p>TODO: Rich text</p>
<p>TODO: page chooser</p>
<p>TODO: image chooser</p>
@ -388,10 +388,7 @@
</ul>
</section>
</div>
{% endblock %}