

%h1 Sign-In

=form_tag public_auth_local_sign_in_path, method: 'POST', id: 'password-sign-in', class: "password-sign-in", role: "form" do
  = hidden_field_tag :authenticity_token, form_authenticity_token
  = hidden_field_tag :current_fullpath, params[:fullpath]
  .form-group
    %label{for: "login"}
      Login / email address
    =text_field :sign_in, :login, placeholder: "Login or email", autofocus: 'autofocus', class: "form-control"
  .form-group
    %label{for: :password}
      Password
    =password_field :sign_in, :password, placeholder: "Password", class: "form-control"
  =button_tag type: 'submit' , class: "btn btn-primary" do
    %i.icon-sign-in
    Sign me in


%h1 Sign-In

=form_tag public_auth_local_sign_in_path, method: 'POST', id: 'password-sign-in', class: "password-sign-in", role: "form" do
  = hidden_field_tag :current_fullpath, params[:fullpath]
  .form-group
    %label{for: "login"}
      Login / email address
    =text_field :sign_in, :login, placeholder: "Login or email", autofocus: 'autofocus', class: "form-control"
  .form-group
    %label{for: :password}
      Password
    =password_field :sign_in, :password, placeholder: "Password", class: "form-control"
  =button_tag type: 'submit' , class: "btn btn-primary" do
    %i.icon-sign-in
    Sign me in


Remove superfluous CSRF token (fixes invalid token problem)
Remove superfluous CSRF token (fixes invalid token problem)
