Sha256: 9921144be0e4a97554e5faaaa1387c9a0dfed97c66449115c4f3c4f438cbc15f

Contents?: true

Size: 1.11 KB

Versions: 10

Compression:

Stored size: 1.11 KB

Contents

%div{ 'ng-init' => "user = { $pwdScore: {}, email: '#{params['email']}' }" }

= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { 'name' => 'form', :class => 'form-horizontal autofill-detect', :autocomplete => "off" }) do |f|
  
  - unless devise_error_messages!.empty?
    .row
      .alert.alert-error
        %button.close ×
        = devise_error_messages!
  
  %md-input-container
    %label Email
    = f.email_field :email, :placeholder => "Email", required: true, 'ng-model' => 'user.email'

  %br

  %md-input-container
    %label Company
    = f.text_field :company, placeholder: "Company", required: true, 'ng-model' => 'user.company'
  
  %br/
  %md-checkbox{ 'ng-model' => 'user.acceptTos', name: 'tos' } 
    I accept the
    = link_to "Terms of Use", MnoEnterprise.router.terms_url, :target => '_blank'
  
  %br
  
  %div
    %button{ class: "md-raised md-accent", 'md-button' => true, type: "submit", 'ng-click' => 'hasClicked = true', 'ng-disabled' => 'form.$invalid' } Create my account!
    %md-progress-linear{ 'md-mode' => "indeterminate", 'ng-show' => 'hasClicked' }

Version data entries

10 entries across 10 versions & 1 rubygems

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