diff options
Diffstat (limited to 'app/Template/project_permission/index.php')
-rw-r--r-- | app/Template/project_permission/index.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Template/project_permission/index.php b/app/Template/project_permission/index.php index 5f0edc2b..a7d666a6 100644 --- a/app/Template/project_permission/index.php +++ b/app/Template/project_permission/index.php @@ -19,7 +19,7 @@ </tr> <?php foreach ($users as $user): ?> <tr> - <td><?= $this->e($user['name'] ?: $user['username']) ?></td> + <td><?= $this->text->e($user['name'] ?: $user['username']) ?></td> <td> <?= $this->form->select( 'role-'.$user['id'], @@ -57,7 +57,7 @@ <?= $this->form->select('role', $roles, $values, $errors) ?> - <input type="submit" value="<?= t('Add') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Add') ?></button> </form> </div> <?php endif ?> @@ -79,7 +79,7 @@ </tr> <?php foreach ($groups as $group): ?> <tr> - <td><?= $this->e($group['name']) ?></td> + <td><?= $this->text->e($group['name']) ?></td> <td> <?= $this->form->select( 'role-'.$group['id'], @@ -119,7 +119,7 @@ <?= $this->form->select('role', $roles, $values, $errors) ?> - <input type="submit" value="<?= t('Add') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Add') ?></button> </form> </div> <?php endif ?> @@ -135,7 +135,7 @@ <?= $this->form->checkbox('is_everybody_allowed', t('Allow everybody to access to this project'), 1, $project['is_everybody_allowed']) ?> <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> <?php endif ?> |