Sha256: ce4b7fb9c86da97eead0b099e3ecbc563b1c3d3a0c83b3c2e44f143070a91fd2

Contents?: true

Size: 1.15 KB

Versions: 7

Compression:

Stored size: 1.15 KB

Contents

%div{ 'ng-init' => "user = {}" }

.registration
  .container
    .row
      .login-box-wrapper
        .login-box-title
          %h2= t('.title')
        .login-box
          .brand-logo

          = form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: 'form-horizontal autofill-detect' }) 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
                .text-center
                  %button{ :class => "btn btn-warning", :type => "submit", 'ng-click' => 'hasClicked = true', 'ng-disabled' => 'form.$invalid', 'ng-hide' => 'hasClicked' }= t('.title')
                  %img.ng-hide{ 'ng-src' => asset_path('mno_enterprise/loader-32x32-bg-inverse.gif'), 'ng-show' => 'hasClicked' }

          %hr

          = render "mno_enterprise/auth/shared/links"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mno-enterprise-api-3.4.0 app/views/mno_enterprise/auth/passwords/new.html.haml
mno-enterprise-api-3.3.3 app/views/mno_enterprise/auth/passwords/new.html.haml
mno-enterprise-api-3.3.2 app/views/mno_enterprise/auth/passwords/new.html.haml
mno-enterprise-api-3.2.1 app/views/mno_enterprise/auth/passwords/new.html.haml
mno-enterprise-api-3.3.1 app/views/mno_enterprise/auth/passwords/new.html.haml
mno-enterprise-api-3.3.0 app/views/mno_enterprise/auth/passwords/new.html.haml
mno-enterprise-api-3.2.0 app/views/mno_enterprise/auth/passwords/new.html.haml