Sha256: 6c43a89931b63f3d40e08130b1b571501a07ef9957a9079fb4b5012cd901b2b5

Contents?: true

Size: 1.33 KB

Versions: 10

Compression:

Stored size: 1.33 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!
  
  .row
    .col-sm-12
      = f.email_field :email, placeholder: "*Email", :required => true, 'ng-model' => 'user.email', :class => 'form-control'
  
  %br
  
  .row
    .col-sm-12
      = f.text_field :company, placeholder: "Company", 'ng-model' => 'user.company', class: 'form-control'
  
  %br
  
  .row
    .col-sm-12
      .checkbox-section.text-center
        = check_box_tag 'tos', 'accept', false, :required => true, :style => "margin-top: -3px;", 'ng-model' => 'acceptTos'
        %label{for: 'tos'} I accept the
        = link_to "Terms of Use", MnoEnterprise.router.terms_url, :target => '_blank'
  
  %br
  .row
    .col-sm-12
      .text-center
        %button{ :class => "btn btn-warning", :type => "submit", 'ng-click' => 'hasClicked = true', 'ng-disabled' => 'form.$invalid', 'ng-hide' => 'hasClicked' } Create my account!
        %img.ng-hide{ 'ng-src' => asset_path('mno_enterprise/loader-32x32-bg-inverse.gif'), '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/default/_form.html.haml
mno-enterprise-api-2.0.8 app/views/mno_enterprise/auth/registrations/default/_form.html.haml
mno-enterprise-api-2.0.7 app/views/mno_enterprise/auth/registrations/default/_form.html.haml
mno-enterprise-api-2.0.6 app/views/mno_enterprise/auth/registrations/default/_form.html.haml
mno-enterprise-api-2.0.5 app/views/mno_enterprise/auth/registrations/default/_form.html.haml
mno-enterprise-api-2.0.4 app/views/mno_enterprise/auth/registrations/default/_form.html.haml
mno-enterprise-api-2.0.3 app/views/mno_enterprise/auth/registrations/default/_form.html.haml
mno-enterprise-api-2.0.2 app/views/mno_enterprise/auth/registrations/default/_form.html.haml
mno-enterprise-api-2.0.1 app/views/mno_enterprise/auth/registrations/default/_form.html.haml
mno-enterprise-api-2.0.0 app/views/mno_enterprise/auth/registrations/default/_form.html.haml