registration form: note that user name must be alphanumeric

This commit is contained in:
Daniel Friesel 2019-03-09 08:27:31 +01:00
parent 7206292163
commit 844a95f77f

View file

@ -65,7 +65,7 @@
<div class="input-field col l6 m12 s12"> <div class="input-field col l6 m12 s12">
<i class="material-icons prefix">account_circle</i> <i class="material-icons prefix">account_circle</i>
%= text_field 'user', id => 'account', class => 'validate', required => undef, pattern => '[0-9a-zA-Z_-]+', maxlength => 60, autocomplete => 'username' %= text_field 'user', id => 'account', class => 'validate', required => undef, pattern => '[0-9a-zA-Z_-]+', maxlength => 60, autocomplete => 'username'
<label for="account">Name</label> <label for="account">Name (alphanumerisch)</label>
</div> </div>
<div class="input-field col l6 m12 s12"> <div class="input-field col l6 m12 s12">
<i class="material-icons prefix">email</i> <i class="material-icons prefix">email</i>