From eeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 24 May 2015 16:02:25 -0400 Subject: Helpers refactoring --- app/Template/action/index.php | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'app/Template/action/index.php') diff --git a/app/Template/action/index.php b/app/Template/action/index.php index e388fbc9..9e98554c 100644 --- a/app/Template/action/index.php +++ b/app/Template/action/index.php @@ -15,25 +15,25 @@ - inList($action['event_name'], $available_events) ?> - inList($action['action_name'], $available_actions) ?> + text->in($action['event_name'], $available_events) ?> + text->in($action['action_name'], $available_actions) ?> - a(t('Remove'), 'action', 'confirm', array('project_id' => $project['id'], 'action_id' => $action['id'])) ?> + url->link(t('Remove'), 'action', 'confirm', array('project_id' => $project['id'], 'action_id' => $action['id'])) ?> @@ -51,12 +51,12 @@

-
- formCsrf() ?> - formHidden('project_id', $values) ?> + + form->csrf() ?> + form->hidden('project_id', $values) ?> - formLabel(t('Action'), 'action_name') ?> - formSelect('action_name', $available_actions, $values) ?>
+ form->label(t('Action'), 'action_name') ?> + form->select('action_name', $available_actions, $values) ?>
-- cgit v1.2.3