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-01-16 14:23:05 +01:00
|
|
|
<form method="post" action="<?= $this->u('action', 'params', array('project_id' => $project['id'])) ?>">
|
2014-12-22 19:15:38 +01:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formCsrf() ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formHidden('project_id', $values) ?>
|
|
|
|
<?= $this->formHidden('action_name', $values) ?>
|
2014-11-23 20:13:38 +01:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formLabel(t('Event'), 'event_name') ?>
|
|
|
|
<?= $this->formSelect('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-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('cancel'), 'action', 'index', array('project_id' => $project['id'])) ?>
|
2014-11-23 20:13:38 +01:00
|
|
|
</div>
|
|
|
|
</form>
|