Refactoring/rewrite of modal boxes handling
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<form class="popover-form" method="post" action="<?= $this->url->href('ExternalTaskCreationController', 'step3', array('project_id' => $project['id'], 'provider_name' => $provider_name)) ?>">
|
||||
<form method="post" action="<?= $this->url->href('ExternalTaskCreationController', 'step3', array('project_id' => $project['id'], 'provider_name' => $provider_name)) ?>">
|
||||
<?= $this->form->csrf() ?>
|
||||
<?= $this->form->hidden('external_provider', $values) ?>
|
||||
<?= $this->form->hidden('external_uri', $values) ?>
|
||||
@@ -18,8 +18,5 @@
|
||||
<div class="alert alert-error"><?= $this->text->e($error_message) ?></div>
|
||||
<?php endif ?>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
|
||||
<?= t('or') ?> <?= $this->url->link(t('cancel'), 'BoardViewController', 'show', array('project_id' => $project['id']), false, 'close-popover') ?>
|
||||
</div>
|
||||
<?= $this->modal->submitButtons() ?>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user