summaryrefslogtreecommitdiff
path: root/app/Template/project_edit
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project_edit')
-rw-r--r--app/Template/project_edit/dates.php2
-rw-r--r--app/Template/project_edit/description.php2
-rw-r--r--app/Template/project_edit/general.php4
-rw-r--r--app/Template/project_edit/task_priority.php2
4 files changed, 5 insertions, 5 deletions
diff --git a/app/Template/project_edit/dates.php b/app/Template/project_edit/dates.php
index cb585c6a..83651592 100644
--- a/app/Template/project_edit/dates.php
+++ b/app/Template/project_edit/dates.php
@@ -19,7 +19,7 @@
<?= $this->form->text('end_date', $values, $errors, array('maxlength="10"'), 'form-date') ?>
<div class="form-actions">
- <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
+ <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
</div>
</form>
diff --git a/app/Template/project_edit/description.php b/app/Template/project_edit/description.php
index dce8ab10..6bfe8b8d 100644
--- a/app/Template/project_edit/description.php
+++ b/app/Template/project_edit/description.php
@@ -32,6 +32,6 @@
<div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div>
<div class="form-actions">
- <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
+ <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
</div>
</form>
diff --git a/app/Template/project_edit/general.php b/app/Template/project_edit/general.php
index 5caefa2d..5e6d32b4 100644
--- a/app/Template/project_edit/general.php
+++ b/app/Template/project_edit/general.php
@@ -24,13 +24,13 @@
<?= $this->form->select('owner_id', $owners, $values, $errors) ?>
</div>
- <?php if ($this->user->hasProjectAccess('project', 'create', $project['id'])): ?>
+ <?php if ($this->user->hasProjectAccess('ProjectCreation', 'create', $project['id'])): ?>
<hr>
<?= $this->form->checkbox('is_private', t('Private project'), 1, $project['is_private'] == 1) ?>
<p class="form-help"><?= t('Private projects do not have users and groups management.') ?></p>
<?php endif ?>
<div class="form-actions">
- <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
+ <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
</div>
</form>
diff --git a/app/Template/project_edit/task_priority.php b/app/Template/project_edit/task_priority.php
index e54215b2..faf49f5d 100644
--- a/app/Template/project_edit/task_priority.php
+++ b/app/Template/project_edit/task_priority.php
@@ -22,7 +22,7 @@
<?= $this->form->number('priority_end', $values, $errors) ?>
<div class="form-actions">
- <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
+ <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
</div>
</form>