Fix wrong arguments for submitButtons() helper
This commit is contained in:
parent
85fb4dd1ca
commit
0807f27981
|
|
@ -8,5 +8,7 @@
|
|||
<?= $this->form->label(t('Action'), 'action_name') ?>
|
||||
<?= $this->form->select('action_name', $available_actions, $values) ?>
|
||||
|
||||
<?= $this->modal->submitButtons(t('Next step')) ?>
|
||||
<?= $this->modal->submitButtons(array(
|
||||
'submitLabel' => t('Next step')
|
||||
)) ?>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -18,5 +18,7 @@
|
|||
<?= t('When the selected event occurs execute the corresponding action.') ?>
|
||||
</div>
|
||||
|
||||
<?= $this->modal->submitButtons(t('Next step')) ?>
|
||||
<?= $this->modal->submitButtons(array(
|
||||
'submitLabel' => t('Next step')
|
||||
)) ?>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -8,5 +8,8 @@
|
|||
|
||||
<p class="alert"><?= t('%d task(s) in the column "%s" and the swimlane "%s" will be closed.', $nb_tasks, $column, $swimlane) ?></p>
|
||||
|
||||
<?= $this->modal->submitButtons(t('Yes'), 'red') ?>
|
||||
<?= $this->modal->submitButtons(array(
|
||||
'submitLabel' => t('Yes'),
|
||||
'color' => 'red',
|
||||
)) ?>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -32,5 +32,5 @@
|
|||
|
||||
<p class="form-help"><?= t('Maximum size: ') ?><?= is_integer($max_size) ? $this->text->bytes($max_size) : $max_size ?></p>
|
||||
|
||||
<?= $this->modal->submitButtons(array('labelSubmit' => t('Import'))) ?>
|
||||
<?= $this->modal->submitButtons(array('submitLabel' => t('Import'))) ?>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in New Issue