summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-04-11 12:03:38 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-04-11 13:48:13 -0700
commitdd92564d221f35fc4fc7bb449c6d24cc4743247b (patch)
treefb1e46d904f0fbf1f33f1449ca24354003f5e809 /app/Template
parent8c5b9925c49bc1a989cdc5e146ce79543fdf7f0a (diff)
Increase text fields length in several tables
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/category/create.php2
-rw-r--r--app/Template/category/edit.php2
-rw-r--r--app/Template/column/create.php2
-rw-r--r--app/Template/column/edit.php2
-rw-r--r--app/Template/custom_filter/create.php4
-rw-r--r--app/Template/custom_filter/edit.php4
-rw-r--r--app/Template/group_creation/show.php2
-rw-r--r--app/Template/group_modification/show.php2
-rw-r--r--app/Template/project_creation/create.php2
-rw-r--r--app/Template/project_edit/show.php4
-rw-r--r--app/Template/swimlane/create.php2
-rw-r--r--app/Template/swimlane/edit.php2
-rw-r--r--app/Template/user_creation/show.php2
-rw-r--r--app/Template/user_invite/signup.php2
-rw-r--r--app/Template/user_modification/show.php2
15 files changed, 18 insertions, 18 deletions
diff --git a/app/Template/category/create.php b/app/Template/category/create.php
index b32a770c..f065305a 100644
--- a/app/Template/category/create.php
+++ b/app/Template/category/create.php
@@ -5,7 +5,7 @@
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Category Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required')) ?>
<?= $this->modal->submitButtons() ?>
</form>
diff --git a/app/Template/category/edit.php b/app/Template/category/edit.php
index 9ad5a9e9..08231606 100644
--- a/app/Template/category/edit.php
+++ b/app/Template/category/edit.php
@@ -6,7 +6,7 @@
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Category Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"', 'tabindex="1"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"', 'tabindex="1"')) ?>
<?= $this->form->label(t('Description'), 'description') ?>
<?= $this->form->textEditor('description', $values, $errors, array('tabindex' => 2)) ?>
diff --git a/app/Template/column/create.php b/app/Template/column/create.php
index 2b0c4641..2ea88eea 100644
--- a/app/Template/column/create.php
+++ b/app/Template/column/create.php
@@ -5,7 +5,7 @@
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Title'), 'title') ?>
- <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="50"', 'tabindex="1"')) ?>
+ <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="255"', 'tabindex="1"')) ?>
<?= $this->form->label(t('Task limit'), 'task_limit') ?>
<?= $this->form->number('task_limit', $values, $errors, array('tabindex="2"')) ?>
diff --git a/app/Template/column/edit.php b/app/Template/column/edit.php
index 25cf60c9..2025405f 100644
--- a/app/Template/column/edit.php
+++ b/app/Template/column/edit.php
@@ -6,7 +6,7 @@
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Title'), 'title') ?>
- <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
+ <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?>
<?= $this->form->label(t('Task limit'), 'task_limit') ?>
<?= $this->form->number('task_limit', $values, $errors) ?>
diff --git a/app/Template/custom_filter/create.php b/app/Template/custom_filter/create.php
index 724cbc85..df400ad2 100644
--- a/app/Template/custom_filter/create.php
+++ b/app/Template/custom_filter/create.php
@@ -5,10 +5,10 @@
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required')) ?>
<?= $this->form->label(t('Filter'), 'filter') ?>
- <?= $this->form->text('filter', $values, $errors, array('required', 'maxlength="100"')) ?>
+ <?= $this->form->text('filter', $values, $errors, array('required')) ?>
<?php if ($this->user->hasProjectAccess('ProjectEditController', 'show', $project['id'])): ?>
<?= $this->form->checkbox('is_shared', t('Share with all project members'), 1) ?>
diff --git a/app/Template/custom_filter/edit.php b/app/Template/custom_filter/edit.php
index 786e0c91..4b0a25a2 100644
--- a/app/Template/custom_filter/edit.php
+++ b/app/Template/custom_filter/edit.php
@@ -8,10 +8,10 @@
<?= $this->form->hidden('user_id', $values) ?>
<?= $this->form->label(t('Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required')) ?>
<?= $this->form->label(t('Filter'), 'filter') ?>
- <?= $this->form->text('filter', $values, $errors, array('required', 'maxlength="100"')) ?>
+ <?= $this->form->text('filter', $values, $errors, array('required')) ?>
<?php if ($this->user->hasProjectAccess('ProjectEditController', 'show', $project['id'])): ?>
<?= $this->form->checkbox('is_shared', t('Share with all project members'), 1, $values['is_shared'] == 1) ?>
diff --git a/app/Template/group_creation/show.php b/app/Template/group_creation/show.php
index 9f4f5608..0b26105b 100644
--- a/app/Template/group_creation/show.php
+++ b/app/Template/group_creation/show.php
@@ -5,7 +5,7 @@
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?>
<?= $this->modal->submitButtons() ?>
</form>
diff --git a/app/Template/group_modification/show.php b/app/Template/group_modification/show.php
index df4ed01e..c314a412 100644
--- a/app/Template/group_modification/show.php
+++ b/app/Template/group_modification/show.php
@@ -8,7 +8,7 @@
<?= $this->form->hidden('external_id', $values) ?>
<?= $this->form->label(t('Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?>
<?= $this->modal->submitButtons() ?>
</form>
diff --git a/app/Template/project_creation/create.php b/app/Template/project_creation/create.php
index 3317a61e..73fd4d7b 100644
--- a/app/Template/project_creation/create.php
+++ b/app/Template/project_creation/create.php
@@ -8,7 +8,7 @@
<?= $this->form->hidden('is_private', $values) ?>
<?= $this->form->label(t('Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required')) ?>
<?php if (count($projects_list) > 1): ?>
<?= $this->form->label(t('Create from another project'), 'src_project_id') ?>
diff --git a/app/Template/project_edit/show.php b/app/Template/project_edit/show.php
index 96531007..324b2e0a 100644
--- a/app/Template/project_edit/show.php
+++ b/app/Template/project_edit/show.php
@@ -14,10 +14,10 @@
<legend><?= t('General') ?></legend>
<?= $this->form->label(t('Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('required', 'maxlength="50"', 'autofocus', 'tabindex="1"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('required', 'autofocus', 'tabindex="1"')) ?>
<?= $this->form->label(t('Email'), 'email') ?>
- <?= $this->form->email('email', $values, $errors, array('maxlength="255"', 'tabindex="2"')) ?>
+ <?= $this->form->email('email', $values, $errors, array('tabindex="2"')) ?>
<p class="form-help"><?= t('The project email is optional and could be used by several plugins.') ?></p>
<?= $this->form->label(t('Identifier'), 'identifier') ?>
diff --git a/app/Template/swimlane/create.php b/app/Template/swimlane/create.php
index 5ff8cbee..02825547 100644
--- a/app/Template/swimlane/create.php
+++ b/app/Template/swimlane/create.php
@@ -5,7 +5,7 @@
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"', 'tabindex="1"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"', 'tabindex="1"')) ?>
<?= $this->form->label(t('Description'), 'description') ?>
<?= $this->form->textEditor('description', $values, $errors, array('tabindex' => 2)) ?>
diff --git a/app/Template/swimlane/edit.php b/app/Template/swimlane/edit.php
index b1d713ee..205dc95d 100644
--- a/app/Template/swimlane/edit.php
+++ b/app/Template/swimlane/edit.php
@@ -6,7 +6,7 @@
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Name'), 'name') ?>
- <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"', 'tabindex="1"')) ?>
+ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="255"', 'tabindex="1"')) ?>
<?= $this->form->label(t('Description'), 'description') ?>
<?= $this->form->textEditor('description', $values, $errors, array('tabindex' => 2)) ?>
diff --git a/app/Template/user_creation/show.php b/app/Template/user_creation/show.php
index 007dd701..90301dbd 100644
--- a/app/Template/user_creation/show.php
+++ b/app/Template/user_creation/show.php
@@ -10,7 +10,7 @@
<legend><?= t('Profile') ?></legend>
<?= $this->form->label(t('Username'), 'username') ?>
- <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
+ <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?>
<?= $this->form->label(t('Name'), 'name') ?>
<?= $this->form->text('name', $values, $errors) ?>
diff --git a/app/Template/user_invite/signup.php b/app/Template/user_invite/signup.php
index 51edbab7..c5c50217 100644
--- a/app/Template/user_invite/signup.php
+++ b/app/Template/user_invite/signup.php
@@ -9,7 +9,7 @@
<legend><?= t('Profile') ?></legend>
<?= $this->form->label(t('Username'), 'username') ?>
- <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
+ <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', 'maxlength="255"')) ?>
<?= $this->form->label(t('Name'), 'name') ?>
<?= $this->form->text('name', $values, $errors) ?>
diff --git a/app/Template/user_modification/show.php b/app/Template/user_modification/show.php
index 6244e255..2bca6675 100644
--- a/app/Template/user_modification/show.php
+++ b/app/Template/user_modification/show.php
@@ -8,7 +8,7 @@
<fieldset>
<legend><?= t('Profile') ?></legend>
<?= $this->form->label(t('Username'), 'username') ?>
- <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', isset($values['is_ldap_user']) && $values['is_ldap_user'] == 1 && !$this->user->isAdmin() ? 'readonly' : '', 'maxlength="50"')) ?>
+ <?= $this->form->text('username', $values, $errors, array('autofocus', 'required', isset($values['is_ldap_user']) && $values['is_ldap_user'] == 1 && !$this->user->isAdmin() ? 'readonly' : '', 'maxlength="255"')) ?>
<?= $this->form->label(t('Name'), 'name') ?>
<?= $this->form->text('name', $values, $errors, array($this->user->hasAccess('UserModificationController', 'show/edit_name') ? '' : 'readonly')) ?>