Fix wrong arguments for submitButtons() helper

This commit is contained in:
Frederic Guillot
2017-01-11 22:43:24 -05:00
parent 85fb4dd1ca
commit 0807f27981
4 changed files with 11 additions and 4 deletions

View File

@@ -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>