2009-10-17 18:42:07 +02:00
|
|
|
- content_for :head do
|
|
|
|
: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
|
|
|
|
#javascript-warn.error(style="font-size:1.5em")
|
|
|
|
Achtung, Cookies und Javascript müssen aktiviert sein!
|
|
|
|
= link_to "NoScript", "http://noscript.net/"
|
|
|
|
bitte abschalten.
|
2009-10-17 18:42:07 +02:00
|
|
|
|
2011-05-11 15:24:34 +02:00
|
|
|
#login-form.edit_form(style="width:25em")
|
2011-05-11 13:38:46 +02:00
|
|
|
= form_tag sessions_path do
|
2009-01-06 11:49:19 +01:00
|
|
|
%p
|
2009-02-06 20:51:14 +01:00
|
|
|
%label{:for => 'user'} Benutzerin
|
2009-01-06 11:49:19 +01:00
|
|
|
%br/
|
2011-05-11 13:38:46 +02:00
|
|
|
= text_field_tag 'nick'
|
2009-01-06 11:49:19 +01:00
|
|
|
%p
|
2009-02-06 20:51:14 +01:00
|
|
|
%label{:for => 'password'} Passwort
|
2009-01-06 11:49:19 +01:00
|
|
|
%br/
|
2011-05-11 13:38:46 +02:00
|
|
|
= password_field_tag 'password'
|
2009-02-06 20:51:14 +01:00
|
|
|
= submit_tag "Anmelden"
|
2009-01-06 11:49:19 +01:00
|
|
|
|
|
2011-05-11 13:38:46 +02:00
|
|
|
= link_to "Passwort vergessen?", :controller => 'login', :action => 'forgot_password'
|