summaryrefslogtreecommitdiff
path: root/app/Template/action_creation/create.php
blob: 862ee47460e13fbed7ed2a240aad879922cd6bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<div class="page-header">
    <h2><?= t('Add an action') ?></h2>
</div>
<form method="post" action="<?= $this->url->href('ActionCreationController', 'event', array('project_id' => $project['id'])) ?>">
    <?= $this->form->csrf() ?>
    <?= $this->form->hidden('project_id', $values) ?>

    <?= $this->form->label(t('Action'), 'action_name') ?>
    <?= $this->form->select('action_name', $available_actions, $values) ?>

    <?= $this->modal->submitButtons(array(
        'submitLabel' => t('Next step')
    )) ?>
</form>