summaryrefslogtreecommitdiff
path: root/app/Template/external_task_creation/step2.php
blob: 4bc0e50986e559dc5ae36c0595ae358f5461ddf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<form class="popover-form" method="post" action="<?= $this->url->href('ExternalTaskCreationController', 'step3', array('project_id' => $project['id'], 'provider_name' => $provider_name)) ?>">
    <?= $this->form->csrf() ?>
    <?= $this->form->hidden('external_provider', $values) ?>
    <?= $this->form->hidden('external_uri', $values) ?>

    <?= $this->render($template, array(
        'project' => $project,
        'external_task' => $external_task,
        'values' => $values,
        'errors' => $errors,
        'users_list' => $users_list,
        'categories_list' => $categories_list,
        'swimlanes_list' => $swimlanes_list,
        'columns_list' => $columns_list,
    )) ?>

    <?php if (! empty($error_message)): ?>
        <div class="alert alert-error"><?= $this->text->e($error_message) ?></div>
    <?php endif ?>

    <div class="form-actions">
        <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
        <?= t('or') ?> <?= $this->url->link(t('cancel'), 'BoardViewController', 'show', array('project_id' => $project['id']), false, 'close-popover') ?>
    </div>
</form>