diff options
Diffstat (limited to 'app/Templates/project_duplicate.php')
-rw-r--r-- | app/Templates/project_duplicate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Templates/project_duplicate.php b/app/Templates/project_duplicate.php index 32cbd5d8..a926dcd1 100644 --- a/app/Templates/project_duplicate.php +++ b/app/Templates/project_duplicate.php @@ -8,7 +8,7 @@ </p> <div class="form-actions"> - <a href="?controller=project&action=duplicate&project_id=<?= $project['id'].Helper\param_csrf() ?>" class="btn btn-red"><?= t('Yes') ?></a> - <?= t('or') ?> <a href="?controller=project&action=show&project_id=<?= $project['id'] ?>"><?= t('cancel') ?></a> + <?= Helper\a(t('Yes'), 'project', 'duplicate', array('project_id' => $project['id'], 'duplicate' => 'yes'), true, 'btn btn-red') ?> + <?= t('or') ?> <?= Helper\a(t('cancel'), 'project', 'show', array('project_id' => $project['id'])) ?> </div> </div>
\ No newline at end of file |