Better style for <select>

This commit is contained in:
Baptiste Gelez
2018-10-31 11:48:15 +01:00
parent 4a2f5aeeeb
commit 1a49569bf2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
{% set license_infos = "Default license will be {{ instance.default_license }}" | _(instance=instance) %}
{{ macros::input(name="license", label="License", errors=errors, form=form, optional=true, details=license_infos) }}
<label for="cover">{{ "Illustration" | _ }}<small>{{ "Optional" | _ }}</small>{{ form.cover }}</label>
<label for="cover">{{ "Illustration" | _ }}<small>{{ "Optional" | _ }}</small></label>
<select id="cover" name="cover">
<option value="none" {% if not form.cover %}selected{% endif %}>{{ "None" | _ }}</option>
{% for media in medias %}