<% login_notice = t('login.notice', default: '') %>
<% unless login_notice.blank? %>
<%= login_notice %>
<% end %>
<%= render 'messages' %>
<%= 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, t('login.label_username') %> <%= text_field_tag :username, params[:username] %> <%= label_tag :password, t('login.label_password') %> <%= password_field_tag :password %> <%= label_tag :rememberMe do %> <%= check_box_tag :rememberMe, 1, params[:rememberMe] %> <%= t('login.label_remember_me') %> <% end %> <%= button_tag t('login.label_button'), :class => 'button' %> <% end %>
<%= render 'footer' %>