summaryrefslogtreecommitdiff
path: root/app/Template/project/new.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project/new.php')
-rw-r--r--app/Template/project/new.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/project/new.php b/app/Template/project/new.php
index 91db75e1..b68258b4 100644
--- a/app/Template/project/new.php
+++ b/app/Template/project/new.php
@@ -10,7 +10,7 @@
<?= $this->formCsrf() ?>
<?= $this->formHidden('is_private', $values) ?>
<?= $this->formLabel(t('Name'), 'name') ?>
- <?= $this->formText('name', $values, $errors, array('autofocus', 'required')) ?>
+ <?= $this->formText('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>