foodsoft/app/views/sessions/new.html.haml
2011-05-11 15:24:34 +02:00

27 lines
No EOL
690 B
Text

- content_for :head do
:javascript
$(function() {
$('#nick').focus();
});
- title "FoodSoft login"
%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.
#login-form.edit_form(style="width:25em")
= form_tag sessions_path do
%p
%label{:for => 'user'} Benutzerin
%br/
= text_field_tag 'nick'
%p
%label{:for => 'password'} Passwort
%br/
= password_field_tag 'password'
= submit_tag "Anmelden"
|
= link_to "Passwort vergessen?", :controller => 'login', :action => 'forgot_password'