From 401b0bdfb10ebfe75c9a392de52d37cc3c22c062 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 19 Jul 2015 18:14:20 -0400 Subject: Split task controller into smaller classes --- app/Template/task/edit.php | 68 ---------------------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 app/Template/task/edit.php (limited to 'app/Template/task/edit.php') diff --git a/app/Template/task/edit.php b/app/Template/task/edit.php deleted file mode 100644 index 359df779..00000000 --- a/app/Template/task/edit.php +++ /dev/null @@ -1,68 +0,0 @@ - -
-
- - form->csrf() ?> - -
- - form->label(t('Title'), 'title') ?> - form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="200"', 'tabindex="1"')) ?>
- - form->label(t('Description'), 'description') ?> - -
-
- form->textarea('description', $values, $errors, array('placeholder="'.t('Leave a description').'"', 'tabindex="2"')) ?> -
-
-
-
-
    -
  • - -
  • -
  • - -
  • -
-
- -
- -
- -
- form->hidden('id', $values) ?> - form->hidden('project_id', $values) ?> - - form->label(t('Assignee'), 'owner_id') ?> - form->select('owner_id', $users_list, $values, $errors, array('tabindex="3"')) ?>
- - form->label(t('Category'), 'category_id') ?> - form->select('category_id', $categories_list, $values, $errors, array('tabindex="4"')) ?>
- - form->label(t('Color'), 'color_id') ?> - form->select('color_id', $colors_list, $values, $errors, array('tabindex="5"')) ?>
- - form->label(t('Complexity'), 'score') ?> - form->number('score', $values, $errors, array('tabindex="6"')) ?>
- - form->label(t('Due Date'), 'date_due') ?> - form->text('date_due', $values, $errors, array('placeholder="'.$this->text->in($date_format, $date_formats).'"', 'tabindex="7"'), 'form-date') ?>
-
-
- -
- - - - url->link(t('cancel'), 'board', 'show', array('project_id' => $task['project_id']), false, 'close-popover') ?> - - url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> - -
-
-
-- cgit v1.2.3