foodsoft/app/views/login/login.haml
2009-08-04 13:49:14 +02:00

24 lines
No EOL
733 B
Text

- title "Login"
.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
%br/
= text_field 'login', 'user'
%p
%label{:for => 'password'} Passwort
%br/
= password_field 'login', 'password'
= submit_tag "Anmelden"
|
= link_to "Passwort vergessen?", :action => 'forgot_password'
%div{:style => 'font-size:0.9em;margin-top:2em;'}
%b Achtung, Cookies und Javascript müssen aktiviert sein!
= link_to "NoScript", "http://noscript.net/"
bitte abschalten.
= javascript_tag("$('login_user').focus()")