diff options
-rw-r--r-- | app/Model/TaskValidator.php | 1 | ||||
-rw-r--r-- | app/Template/task_edit_description.php | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/app/Model/TaskValidator.php b/app/Model/TaskValidator.php index 816008cf..ecaf0902 100644 --- a/app/Model/TaskValidator.php +++ b/app/Model/TaskValidator.php @@ -70,7 +70,6 @@ class TaskValidator extends Base { $rules = array( new Validators\Required('id', t('The id is required')), - new Validators\Required('description', t('The description is required')), ); $v = new Validator($values, array_merge($rules, $this->commonValidationRules())); diff --git a/app/Template/task_edit_description.php b/app/Template/task_edit_description.php index 2d2a4d0b..09dca30a 100644 --- a/app/Template/task_edit_description.php +++ b/app/Template/task_edit_description.php @@ -7,7 +7,7 @@ <?= Helper\form_csrf() ?> <?= Helper\form_hidden('id', $values) ?> - <?= Helper\form_textarea('description', $values, $errors, array('autofocus', 'required', 'placeholder="'.t('Leave a description').'"'), 'description-textarea') ?><br/> + <?= Helper\form_textarea('description', $values, $errors, array('autofocus', 'placeholder="'.t('Leave a description').'"'), 'description-textarea') ?><br/> <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?= t('Write your text in Markdown') ?></a></div> <div class="form-actions"> |