Login

<%= form_tag(login_path, method: :post, id: 'login-form') do %> <%= hidden_field_tag :lt, @login_ticket.ticket %> <%= hidden_field_tag :service, params[:service] unless params[:service].nil? %>
<%= label_tag :username %>
<%= text_field_tag :username, params[:username] %>
<%= label_tag :password %>
<%= password_field_tag :password %>
<%= submit_tag "Login" %> <% end %>