foodsoft/app/views/sessions/new.html.haml

27 lines
690 B
Text
Raw Normal View History

- content_for :head do
:javascript
2011-05-11 15:24:34 +02:00
$(function() {
$('#nick').focus();
});
- 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.
2011-05-11 15:24:34 +02:00
#login-form.edit_form(style="width:25em")
= form_tag sessions_path do
2009-01-06 11:49:19 +01:00
%p
%label{:for => 'user'} Benutzerin
2009-01-06 11:49:19 +01:00
%br/
= text_field_tag 'nick'
2009-01-06 11:49:19 +01:00
%p
%label{:for => 'password'} Passwort
2009-01-06 11:49:19 +01:00
%br/
= password_field_tag 'password'
= submit_tag "Anmelden"
2009-01-06 11:49:19 +01:00
|
= link_to "Passwort vergessen?", :controller => 'login', :action => 'forgot_password'