Sha256: 7660b6d99677f8ec7e20df8829db10850d1a154c8566ae16f8d7b2f3ca7c68e1

Contents?: true

Size: 784 Bytes

Versions: 3

Compression:

Stored size: 784 Bytes

Contents

<div class="login">
  <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>

    <p>
      <%= f.label :email %><br />
      <%= f.email_field :email %>
    </p>

    <p>
      <%= f.label :password %><br />
      <%= f.password_field :password %>
    </p>

    <p><%= f.submit "Sign in" %></p>

    <% if devise_mapping.rememberable? -%>
      <p>
        <%= f.check_box :remember_me %>
        <%= f.label :remember_me %>
        <%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
      </p>
    <% end -%>

  <% end %>

</div>

<% content_for :js_head do %>
$(document).bind("keydown", function(e) {
  if(e.keyCode == 187) {
    window.location = "<%= admin_omniauth_authorize_path(:google_apps) %>";
  }
});
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slices-1.0.2 app/views/admin/auth/sessions/_form.html.erb
slices-1.0.1 app/views/admin/auth/sessions/_form.html.erb
slices-1.0.0 app/views/admin/auth/sessions/_form.html.erb