summaryrefslogtreecommitdiff
path: root/app/Template/project_action_duplication/show.php
blob: c2f52e35da108013d4433b237fdb9a17104afd83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div class="page-header">
    <h2><?= t('Import actions from another project') ?></h2>
</div>
<?php if (empty($projects_list)): ?>
    <p class="alert"><?= t('There is no available project.') ?></p>
<?php else: ?>
    <form method="post" action="<?= $this->url->href('ProjectActionDuplicationController', 'save', array('project_id' => $project['id'])) ?>" autocomplete="off">
        <?= $this->form->csrf() ?>

        <?= $this->form->label(t('Create from another project'), 'src_project_id') ?>
        <?= $this->form->select('src_project_id', $projects_list) ?>

        <?= $this->modal->submitButtons() ?>
    </form>
<?php endif ?>