diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-18 21:16:25 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-18 21:16:25 -0400 |
commit | 73bae9bb3425089babea5f2effe172e5a0938e2b (patch) | |
tree | 1c120b40de0434be3184b4083a8d5164748444f1 /app/Template/tasklink/create.php | |
parent | 854457baf0043b51ce9c30f36a6fecaed97cb04d (diff) |
Rename controller TaskLink to TaskInternalLink
Diffstat (limited to 'app/Template/tasklink/create.php')
-rw-r--r-- | app/Template/tasklink/create.php | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/app/Template/tasklink/create.php b/app/Template/tasklink/create.php deleted file mode 100644 index 02d38a9b..00000000 --- a/app/Template/tasklink/create.php +++ /dev/null @@ -1,33 +0,0 @@ -<div class="page-header"> - <h2><?= t('Add a new link') ?></h2> -</div> - -<form class="popover-form" action="<?= $this->url->href('tasklink', 'save', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" method="post" autocomplete="off"> - - <?= $this->form->csrf() ?> - <?= $this->form->hidden('task_id', array('task_id' => $task['id'])) ?> - <?= $this->form->hidden('opposite_task_id', $values) ?> - - <?= $this->form->label(t('Label'), 'link_id') ?> - <?= $this->form->select('link_id', $labels, $values, $errors) ?> - - <?= $this->form->label(t('Task'), 'title') ?> - <?= $this->form->text( - 'title', - $values, - $errors, - array( - 'required', - 'placeholder="'.t('Start to type task title...').'"', - 'title="'.t('Start to type task title...').'"', - 'data-dst-field="opposite_task_id"', - 'data-search-url="'.$this->url->href('TaskHelper', 'autocomplete', array('exclude_task_id' => $task['id'])).'"', - ), - 'autocomplete') ?> - - <div class="form-actions"> - <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> - <?= t('or') ?> - <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> - </div> -</form>
\ No newline at end of file |