form->csrf() ?> form->hidden('opposite_task_id', $values) ?> form->label(t('Label'), 'link_id') ?> form->select('link_id', $labels, $values, $errors) ?> form->label(t('Task'), 'title') ?> 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('TaskAjaxController', 'autocomplete', array('exclude_task_id' => $task['id'])).'"', ), 'autocomplete') ?> form->checkbox('another_tasklink', t('Create another link'), 1, isset($values['another_tasklink']) && $values['another_tasklink'] == 1) ?> modal->submitButtons() ?>