- 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', nil, autocapitalize: 'off', autocorrect: 'off'

  .control-group
    %label(for='password' class='control-label')= t '.password'
    .controls
      = password_field_tag 'password', nil, autocapitalize: 'off', autocorrect: 'off'

  .control-group
    .controls
      = submit_tag t('.login'), class: 'btn'
      = link_to t('.forgot_password'), forgot_password_path