Fix missing Icons in corpus file edit

This commit is contained in:
Stephan Porada 2020-09-23 16:34:46 +02:00
parent 92d47a0b8d
commit 609a887d73

View File

@ -35,7 +35,7 @@
<div class="collapsible-body">
{% for field in edit_corpus_file_form
if field.short_name not in ['author', 'csrf_token', 'publishing_year', 'submit', 'title'] %}
{{ M.render_field(field) }}
{{ M.render_field(field, data_length='255', material_icon=field.label.text[0:1]) }}
{% endfor %}
</div>
</li>