Sha256: 95e565a1d152e70c2788e44a360cecde4548dd9fd16ca5913e0d65f53287c0ae

Contents?: true

Size: 962 Bytes

Versions: 7

Compression:

Stored size: 962 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
  = simple_form_for(resource, as: resource_name, url: session_path(resource_name), :html => { :role => 'form', class: 'col s12 m6 l4 offset-m3 offset-l4'}) do |f|
    %h3= t('.title')
    = 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
      .col.s12
        = f.input( :remember_me, as: :boolean) if devise_mapping.rememberable?

    %br{ style: "margin-top: 50px"}

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
oxen_user-0.4.13 app/views/devise/sessions/new.html.haml
oxen_user-0.4.12 app/views/devise/sessions/new.html.haml
oxen_user-0.4.11 app/views/devise/sessions/new.html.haml
oxen_user-0.4.9 app/views/devise/sessions/new.html.haml
oxen_user-0.4.8 app/views/devise/sessions/new.html.haml
oxen_user-0.4.7 app/views/devise/sessions/new.html.haml
oxen_user-0.4.3 app/views/devise/sessions/new.html.haml