Sha256: 304f9273679a08b880522b843714eeae6fba6d85efd85d0c6d31667e51eaadea

Contents?: true

Size: 1020 Bytes

Versions: 10

Compression:

Stored size: 1020 Bytes

Contents

= form_for(resource, :as => resource_name, :url => "#{session_path(resource_name)}?ltype=#{@login_type}", :html => { 'name' => 'loginForm', :class => 'autofill-detect text-center' }) do |f|
  %div
    = f.email_field :email, :placeholder => "Email", :required => true, 'ng-model' => 'email', :class => 'form-control'
  %br
  %div
    = f.password_field :password, :placeholder => "Password", :required => true, 'ng-model' => 'password', :class => 'form-control', :autocomplete => "off"
  
  %br/
  %div
    %button{ :class => "btn btn-warning btn-login", :type => "submit", 'ng-click' => 'hasClicked = true', 'ng-disabled' => 'loginForm.$invalid', 'ng-hide' => 'hasClicked' } Sign in
    %img.ng-hide{ 'ng-src' => asset_path('mno_enterprise/loader-32x32-bg-inverse.gif'), 'ng-show' => 'hasClicked' }
  
  - if devise_mapping.rememberable? && MnoEnterprise.style.devise.remember_checkbox_shown
    %br/
    %div.form-inline.checkbox-section
      = f.check_box :remember_me, { checked: true }
      = f.label :remember_me

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mno-enterprise-api-2.0.9 app/views/mno_enterprise/auth/sessions/default/_form.html.haml
mno-enterprise-api-2.0.8 app/views/mno_enterprise/auth/sessions/default/_form.html.haml
mno-enterprise-api-2.0.7 app/views/mno_enterprise/auth/sessions/default/_form.html.haml
mno-enterprise-api-2.0.6 app/views/mno_enterprise/auth/sessions/default/_form.html.haml
mno-enterprise-api-2.0.5 app/views/mno_enterprise/auth/sessions/default/_form.html.haml
mno-enterprise-api-2.0.4 app/views/mno_enterprise/auth/sessions/default/_form.html.haml
mno-enterprise-api-2.0.3 app/views/mno_enterprise/auth/sessions/default/_form.html.haml
mno-enterprise-api-2.0.2 app/views/mno_enterprise/auth/sessions/default/_form.html.haml
mno-enterprise-api-2.0.1 app/views/mno_enterprise/auth/sessions/default/_form.html.haml
mno-enterprise-api-2.0.0 app/views/mno_enterprise/auth/sessions/default/_form.html.haml