Sha256: d9f56472f6adcb14b317195bcda288a489dc8c7ca6c0034d69133ba65796f1fa
Contents?: true
Size: 1017 Bytes
Versions: 10
Compression:
Stored size: 1017 Bytes
Contents
%div{ 'ng-init' => "user = { }" } = form_for(resource, :as => resource_name, :url => "#{session_path(resource_name)}?ltype=#{@login_type}", :html => { 'name' => 'loginForm', :class => 'autofill-detect text-center' }) do |f| %md-input-container %label Email = f.email_field :email, :placeholder => "Email", :required => true, 'ng-model' => 'user.email' %br %md-input-container %label Password = f.password_field :password, :placeholder => "Password", :required => true, 'ng-model' => 'user.password', :autocomplete => "off" - if devise_mapping.rememberable? && MnoEnterprise.style.devise.remember_checkbox_shown %br/ %md-checkbox{ 'ng-model' => 'user.rememberMe', name: 'user[remember_me]' } Remember Me %br %div %button{ class: "md-raised md-accent", 'md-button' => true, type: "submit", 'ng-click' => 'hasClicked = true', 'ng-disabled' => 'loginForm.$invalid' } Sign in %md-progress-linear{ 'md-mode' => "indeterminate", 'ng-show' => 'hasClicked' }
Version data entries
10 entries across 10 versions & 1 rubygems