diff options
Diffstat (limited to 'app/Template/link/remove.php')
-rw-r--r-- | app/Template/link/remove.php | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/app/Template/link/remove.php b/app/Template/link/remove.php index d0b14b08..a802feb0 100644 --- a/app/Template/link/remove.php +++ b/app/Template/link/remove.php @@ -1,17 +1,15 @@ -<section id="main"> - <div class="page-header"> - <h2><?= t('Remove a link') ?></h2> - </div> +<div class="page-header"> + <h2><?= t('Remove a link') ?></h2> +</div> - <div class="confirm"> - <p class="alert alert-info"> - <?= t('Do you really want to remove this link: "%s"?', t($link[0]['label']).(isset($link[1]['label']) ? ' | '.t($link[1]['label']) : '')) ?> - </p> +<div class="confirm"> + <p class="alert alert-info"> + <?= t('Do you really want to remove this link: "%s"?', $link['label']) ?> + </p> - <div class="form-actions"> - <?= $this->a(t('Yes'), 'link', 'remove', array('project_id' => $project['id'], 'link_id' => $link[0]['link_id']), true, 'btn btn-red') ?> - <?= t('or') ?> - <?= $this->a(t('cancel'), 'link', 'index', array('project_id' => $project['id'])) ?> - </div> + <div class="form-actions"> + <?= $this->a(t('Yes'), 'link', 'remove', array('link_id' => $link['id']), true, 'btn btn-red') ?> + <?= t('or') ?> + <?= $this->a(t('cancel'), 'link', 'index') ?> </div> -</section>
\ No newline at end of file +</div>
\ No newline at end of file |