1<div class="page-header">
2    <h2><?= t('Choose an event') ?></h2>
3</div>
4
5<form method="post" action="<?= $this->url->href('ActionCreationController', 'params', array('project_id' => $project['id'])) ?>">
6    <?= $this->form->csrf() ?>
7
8    <?= $this->form->hidden('action_name', $values) ?>
9
10    <?= $this->form->label(t('Action'), 'action_name') ?>
11    <?= $this->form->select('action_name', $available_actions, $values, array(), array('disabled')) ?>
12
13    <?= $this->form->label(t('Event'), 'event_name') ?>
14    <?= $this->form->select('event_name', $events, $values) ?>
15
16    <div class="form-help">
17        <?= t('When the selected event occurs execute the corresponding action.') ?>
18    </div>
19
20    <?= $this->modal->submitButtons(array(
21        'submitLabel' => t('Next step')
22    )) ?>
23</form>
24