mirror of
https://github.com/derf/travelynx
synced 2024-12-04 10:19:09 +00:00
enable form validation for login page
This commit is contained in:
parent
4dc0a90ef8
commit
8057c16cc4
1 changed files with 2 additions and 2 deletions
|
@ -45,12 +45,12 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12">
|
||||||
<i class="material-icons prefix">account_circle</i>
|
<i class="material-icons prefix">account_circle</i>
|
||||||
%= text_field 'user', id => 'user', class => 'validate'
|
%= text_field 'user', id => 'user', class => 'validate', required => undef, maxlength => 60
|
||||||
<label for="user">Account</label>
|
<label for="user">Account</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12">
|
||||||
<i class="material-icons prefix">lock</i>
|
<i class="material-icons prefix">lock</i>
|
||||||
%= password_field 'password', id => 'password', class => 'validate'
|
%= password_field 'password', id => 'password', class => 'validate', required => undef
|
||||||
<label for="password">Passwort</label>
|
<label for="password">Passwort</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue