Mark optional fields as optionals

Fix #121
This commit is contained in:
Bat
2018-07-19 11:14:44 +02:00
parent 9701340c84
commit 8ad0abd921
7 changed files with 26 additions and 4 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
<label for="content">{{ "Content" | _ }}</label>
<textarea id="content" name="content" value="{{ form.content | default(value="") }}"></textarea>
{{ macros::input(name="license", label="License", errors=errors, form=form) }}
{{ macros::input(name="license", label="License", errors=errors, form=form, optional=true) }}
<input type="submit" value="{{ "Publish" | _ }}" />
</form>