url->link(t('cancel'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'js-modal-close btn') ?>
form->csrf() ?> form->hidden('id', $values) ?> form->label(t('Project'), 'project_id') ?> app->component('select-dropdown-autocomplete', array( 'name' => 'project_id', 'items' => $projects_list, 'defaultValue' => isset($values['project_id']) ? $values['project_id'] : null, 'placeholder' => t('Choose a project'), 'replace' => array( 'regex' => 'PROJECT_ID', 'url' => $this->url->href('TaskDuplicationController', 'copy', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'dst_project_id' => 'PROJECT_ID')), ) )) ?> form->label(t('Swimlane'), 'swimlane_id') ?> form->select('swimlane_id', $swimlanes_list, $values) ?>

form->label(t('Column'), 'column_id') ?> form->select('column_id', $columns_list, $values) ?>

form->label(t('Category'), 'category_id') ?> form->select('category_id', $categories_list, $values) ?>

form->label(t('Assignee'), 'owner_id') ?> form->select('owner_id', $users_list, $values) ?>

modal->submitButtons() ?>