Sha256: 196f9b9a77e3ecbc0d04d85d564f161d64bdfb903e2c11ec8e7b2e6743b48a0e

Contents?: true

Size: 920 Bytes

Versions: 12

Compression:

Stored size: 920 Bytes

Contents

/ TODO 2015-05-08 make users sign-up / sign-in with OAuth
/ see http://www.sitepoint.com/rails-authentication-oauth-2-0-omniauth/
/
- content_for :title do
  = t('.title')

.row
  %h3= t('.title')
  = simple_form_for(resource, as: resource_name, url: session_path(resource_name), :html => { :role => 'form', class: 'col s12'}) do |f|
    = devise_error_messages!
    .row
      -# - if devise_mapping.registerable?
      -#   = link_to t(:sign_up), new_registration_path(resource_name), class: 'right'
      = f.input :email, required: false, autofocus: true
    .row
      - if devise_mapping.recoverable?
        = link_to t(:forgot_password), new_password_path(resource_name), class: 'right'
      = f.input :password, required: false
    .row
      = f.input( :remember_me, as: :boolean) if devise_mapping.rememberable?

      %hr{ style: "margin-top: 100px"}

    .form-actions.right-align
      = f.button :submit

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
oxen_user-0.4.1 app/views/devise/sessions/new.html.haml
oxen_user-0.3.4 app/views/devise/sessions/new.html.haml
oxen_user-0.3.3 app/views/devise/sessions/new.html.haml
oxen_user-0.3.2 app/views/devise/sessions/new.html.haml
oxen_user-0.3.1 app/views/devise/sessions/new.html.haml
oxen_user-0.3.0 app/views/devise/sessions/new.html.haml
oxen_user-0.2.9 app/views/devise/sessions/new.html.haml
oxen_user-0.2.8 app/views/devise/sessions/new.html.haml
oxen_user-0.2.4 app/views/devise/sessions/new.html.haml
oxen_user-0.2.2 app/views/devise/sessions/new.html.haml
oxen_user-0.2.1 app/views/devise/sessions/new.html.haml
oxen_user-0.2.0 app/views/devise/sessions/new.html.haml