[Course comment] add validationConstraint NotNull and NotBlank on comment content, to avoid sql error

This commit is contained in:
2022-04-20 18:33:08 +02:00
parent 44b537f05e
commit e246ccbcd9
3 changed files with 5 additions and 0 deletions

View File

@@ -40,6 +40,7 @@
{% endif %}
{{ form_start(form) }}
{{ form_errors(form) }}
{{ form_errors(form.content) }}
{{ form_widget(form.content) }}
<ul class="record_actions">
<li>