mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-11 16:53:10 +00:00
added example of iconfield
This commit is contained in:
parent
7415f07d2a
commit
38e4e6d361
1 changed files with 2 additions and 5 deletions
|
|
@ -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 %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue