set maxlength for name input fields in templates

This commit is contained in:
Michael Lüpkes
2015-01-13 14:09:02 +01:00
parent 34bbdaeac8
commit 569c99a733
13 changed files with 15 additions and 15 deletions

View File

@@ -10,7 +10,7 @@
<?= $this->formCsrf() ?>
<?= $this->formLabel(t('Username'), 'username') ?>
<?= $this->formText('username', $values, $errors, array('autofocus', 'required')) ?><br/>
<?= $this->formText('username', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?><br/>
<?= $this->formLabel(t('Name'), 'name') ?>
<?= $this->formText('name', $values, $errors) ?><br/>