foodsoft/app/views/login/login.haml

23 lines
637 B
Text
Raw Normal View History

- title "Login"
2009-01-06 11:49:19 +01:00
.edit_form{:style => "width:25em"}
- form_tag :action => 'login' do
- if flash[:notice]
%div.notice= flash[:notice]
- if flash[:error]
%div.error= flash[:error]
%p
%label{:for => 'user'} Benutzerin
2009-01-06 11:49:19 +01:00
%br/
= text_field 'login', 'user'
%p
%label{:for => 'password'} Passwort
2009-01-06 11:49:19 +01:00
%br/
= password_field 'login', 'password'
= submit_tag "Anmelden"
2009-01-06 11:49:19 +01:00
|
= link_to "Passwort vergessen?", :action => 'forgot_password'
2009-01-06 11:49:19 +01:00
%br/
%br/
%i{:style => 'font-size:0.8em;'} Kekse und Javascript müssen erlaubt sein!
2009-01-06 11:49:19 +01:00
= javascript_tag("$('login_user').focus()")