2012-10-08 11:51:56 +02:00
|
|
|
- content_for :javascript do
|
2009-10-17 18:42:07 +02:00
|
|
|
:javascript
|
2011-05-11 15:24:34 +02:00
|
|
|
$(function() {
|
|
|
|
$('#nick').focus();
|
2009-10-17 18:42:07 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
- title "FoodSoft login"
|
|
|
|
|
2011-05-11 15:24:34 +02:00
|
|
|
%noscript
|
2012-10-08 11:51:56 +02:00
|
|
|
.alert.alert-error
|
2011-05-11 15:24:34 +02:00
|
|
|
Achtung, Cookies und Javascript müssen aktiviert sein!
|
|
|
|
= link_to "NoScript", "http://noscript.net/"
|
|
|
|
bitte abschalten.
|
2009-10-17 18:42:07 +02:00
|
|
|
|
2012-10-08 11:51:56 +02:00
|
|
|
= form_tag sessions_path, class: 'form-horizontal' do
|
|
|
|
.control-group
|
|
|
|
%label(for='nick' class='control-label') Benutzerin
|
|
|
|
.controls
|
2011-05-11 13:38:46 +02:00
|
|
|
= text_field_tag 'nick'
|
2012-10-08 11:51:56 +02:00
|
|
|
|
|
|
|
.control-group
|
|
|
|
%label(for='password' class='control-label') Passwort
|
|
|
|
.controls
|
2011-05-11 13:38:46 +02:00
|
|
|
= password_field_tag 'password'
|
2012-10-08 11:51:56 +02:00
|
|
|
|
|
|
|
.control-group
|
|
|
|
.controls
|
|
|
|
= submit_tag "Anmelden", class: 'btn'
|
2013-03-27 22:12:46 +01:00
|
|
|
= link_to "Passwort vergessen?", forgot_password_path
|