foodsoft/app/views/sessions/new.html.haml
wvengen 0bb080526a Merge remote-tracking branch 'bennibu/rails3' into rails3
Conflicts:
	app/controllers/login_controller.rb
	app/models/message.rb
	app/views/sessions/new.html.haml
2013-04-04 00:29:50 +02:00

27 lines
664 B
Text

- content_for :javascript do
:javascript
$(function() {
$('#nick').focus();
});
- title t('.title')
%noscript
.alert.alert-error
!= t '.nojs', link: link_to(t('.noscript'), "http://noscript.net/")
= form_tag sessions_path, class: 'form-horizontal' do
.control-group
%label(for='nick' class='control-label')= t '.user'
.controls
= text_field_tag 'nick'
.control-group
%label(for='password' class='control-label')= t '.password'
.controls
= password_field_tag 'password'
.control-group
.controls
= submit_tag t('.login'), class: 'btn'
= link_to t('.forgot_password'), forgot_password_path