Sha256: d319bb4cc493989dec2e8b02848871a073519c061d6b61264814e4e93f79ec5a

Contents?: true

Size: 1.09 KB

Versions: 15

Compression:

Stored size: 1.09 KB

Contents

<% login_notice = t('login.notice', default: '') %>
<div class="container">
  <% unless login_notice.blank? %>
  <div class="notice box">
    <i class="icon-info"></i> <%= login_notice %>
  </div>
  <% end %>
  <div class="login box">
    <%= render 'messages' %>
    <div class="logo">
       <%= image_tag "logo.png" %>
    </div>

    <div class="form">
      <%= 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], autofocus:true %>
        <%= 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 %>
    </div>
  </div>
  <%= render 'footer' %>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
casino-3.0.4 app/views/casino/sessions/new.html.erb
casino-2.0.7 app/views/casino/sessions/new.html.erb
casino-3.0.3 app/views/casino/sessions/new.html.erb
casino-3.0.2 app/views/casino/sessions/new.html.erb
casino-3.0.1 app/views/casino/sessions/new.html.erb
casino-3.0.0 app/views/casino/sessions/new.html.erb
casino-3.0.0.pre.2 app/views/casino/sessions/new.html.erb
casino-3.0.0.pre.1 app/views/casino/sessions/new.html.erb
casino-2.0.6 app/views/casino/sessions/new.html.erb
casino-2.0.5 app/views/casino/sessions/new.html.erb
casino-2.0.4 app/views/casino/sessions/new.html.erb
casino-2.0.3 app/views/casino/sessions/new.html.erb
casino-2.0.2 app/views/casino/sessions/new.html.erb
casino-2.0.1 app/views/casino/sessions/new.html.erb
casino-2.0.0 app/views/casino/sessions/new.html.erb