summaryrefslogtreecommitdiff
path: root/app/Template/project_role/create.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project_role/create.php')
-rw-r--r--app/Template/project_role/create.php30
1 files changed, 14 insertions, 16 deletions
diff --git a/app/Template/project_role/create.php b/app/Template/project_role/create.php
index 8eee8f70..d0092243 100644
--- a/app/Template/project_role/create.php
+++ b/app/Template/project_role/create.php
@@ -1,18 +1,16 @@
-<section id="main">
- <div class="page-header">
- <h2><?= t('New custom project role') ?></h2>
- </div>
- <form class="popover-form" method="post" action="<?= $this->url->href('ProjectRoleController', 'save', array('project_id' => $project['id'])) ?>" autocomplete="off">
- <?= $this->form->csrf() ?>
- <?= $this->form->hidden('project_id', $values) ?>
+<div class="page-header">
+ <h2><?= t('New custom project role') ?></h2>
+</div>
+<form class="popover-form" method="post" action="<?= $this->url->href('ProjectRoleController', 'save', array('project_id' => $project['id'])) ?>" autocomplete="off">
+ <?= $this->form->csrf() ?>
+ <?= $this->form->hidden('project_id', $values) ?>
- <?= $this->form->label(t('Role'), 'role') ?>
- <?= $this->form->text('role', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
+ <?= $this->form->label(t('Role'), 'role') ?>
+ <?= $this->form->text('role', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
- <div class="form-actions">
- <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
- <?= t('or') ?>
- <?= $this->url->link(t('cancel'), 'ProjectRoleController', 'show', array(), false, 'close-popover') ?>
- </div>
- </form>
-</section>
+ <div class="form-actions">
+ <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
+ <?= t('or') ?>
+ <?= $this->url->link(t('cancel'), 'ProjectRoleController', 'show', array(), false, 'close-popover') ?>
+ </div>
+</form>