fix: error on warning interval was not shown

This commit is contained in:
Julien Fastré 2018-11-21 14:25:44 +01:00
parent 407effed39
commit b2add2539c
3 changed files with 7 additions and 1 deletions

View File

@ -18,3 +18,7 @@ Version 1.5.5
- Fix error on the "see more" link which was not showed
- Layout of the task list
branch `master`
==============
- fix: validation error on warning date interval is not shown

View File

@ -72,7 +72,7 @@ class SingleTaskController extends Controller
$form = $this->setCreateForm($task, new Role(TaskVoter::CREATE));
$form->handleRequest($request);
if ($form->isSubmitted()) {
if ($form->isValid()) {
$em = $this->getDoctrine()->getManager();

View File

@ -25,6 +25,8 @@
<h1 class="chill-red">{{ 'New task'|trans }}</h1>
{{ form_start(form) }}
{{ form_errors(form) }}
{{ form_row(form.title) }}
{{ form_row(form.description) }}