2014-11-23 20:13:38 +01:00
|
|
|
<div class="page-header">
|
|
|
|
<h2><?= t('Automatic actions for the project "%s"', $project['name']) ?></h2>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h3><?= t('Choose an event') ?></h3>
|
2015-08-16 17:04:56 +02:00
|
|
|
<form method="post" action="<?= $this->url->href('action', 'params', array('project_id' => $project['id'])) ?>">
|
2014-12-22 19:15:38 +01:00
|
|
|
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->form->csrf() ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->form->hidden('project_id', $values) ?>
|
|
|
|
<?= $this->form->hidden('action_name', $values) ?>
|
2014-11-23 20:13:38 +01:00
|
|
|
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->form->label(t('Event'), 'event_name') ?>
|
|
|
|
<?= $this->form->select('event_name', $events, $values) ?><br/>
|
2014-11-23 20:13:38 +01:00
|
|
|
|
|
|
|
<div class="form-help">
|
|
|
|
<?= t('When the selected event occurs execute the corresponding action.') ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-actions">
|
|
|
|
<input type="submit" value="<?= t('Next step') ?>" class="btn btn-blue"/>
|
2014-12-22 19:15:38 +01:00
|
|
|
<?= t('or') ?>
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->url->link(t('cancel'), 'action', 'index', array('project_id' => $project['id'])) ?>
|
2014-11-23 20:13:38 +01:00
|
|
|
</div>
|
|
|
|
</form>
|