foodsoft/app/views/sessions/new.html.haml

29 lines
No EOL
752 B
Text

- content_for :javascript do
:javascript
$(function() {
$('#nick').focus();
});
- title "FoodSoft login"
%noscript
.alert.alert-error
Achtung, Cookies und Javascript müssen aktiviert sein!
= link_to "NoScript", "http://noscript.net/"
bitte abschalten.
= form_tag sessions_path, class: 'form-horizontal' do
.control-group
%label(for='nick' class='control-label') Benutzerin
.controls
= text_field_tag 'nick'
.control-group
%label(for='password' class='control-label') Passwort
.controls
= password_field_tag 'password'
.control-group
.controls
= submit_tag "Anmelden", class: 'btn'
= link_to "Passwort vergessen?", :controller => 'login', :action => 'forgot_password'