%h2 Login

=# TODO The login does not seem to work anymore.

= form_tag session_path(resource), class: 'form-horizontal' do
  .control-group
    = label_tag :username, 'Username', class: 'control-label'
    .controls
      = text_field_tag :username, '', autofocus: true

  .control-group
    = label_tag :domain_id, 'Domain', class: 'control-label'
    .controls
      = select_tag :domain_id, options_from_collection_for_select(Domain.all, 'id', 'name')

  .control-group
    = label_tag :password, 'Password', type: 'password', class: 'control-label'
    .controls
      = text_field_tag :password, '', type: 'password'

  .control-group
    .controls
      = submit_tag 'Login', class: 'btn'

%h2 Login

=# TODO The login does not seem to work anymore.

= form_tag mailbox_session_path(resource), class: 'form-horizontal' do
  .control-group
    = label_tag :username, 'Username', class: 'control-label'
    .controls
      = text_field_tag :username, '', autofocus: true

  .control-group
    = label_tag :domain_id, 'Domain', class: 'control-label'
    .controls
      = select_tag :domain_id, options_from_collection_for_select(Domain.all, 'id', 'name')

  .control-group
    = label_tag :password, 'Password', type: 'password', class: 'control-label'
    .controls
      = text_field_tag :password, '', type: 'password'

  .control-group
    .controls
      = submit_tag 'Login', class: 'btn'

Use correct path helper despite the other one functioning.
Use correct path helper despite the other one functioning.
