Sha256: 7c08779390447fb1532c706a4dc0c1ac75f40e661dd6ec7509539c59f85e9b05

Contents?: true

Size: 922 Bytes

Versions: 7

Compression:

Stored size: 922 Bytes

Contents

- body_classes << 'login_form'
.login-form-content
  .visual
    = image_tag('/assets/admin/default_safe_login.svg', alt: 'web browser with padlock on top')
  .login
    %h1 Log in
    = form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
      .field
        = f.label :email
        %br/
        = f.email_field :email, autofocus: true, autocomplete: "email"
      .field
        = f.label :password
        %br/
        = f.password_field :password, autocomplete: "current-password"
      - if devise_mapping.rememberable?
        .field
          = f.check_box :remember_me
          = f.label :remember_me
      .actions
        = f.submit "Log in"
        - if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
          = link_to "Forgot your password?", new_password_path(resource_name)
      - if flash.alert
        .error= flash.alert

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
trusty-cms-4.0.0 app/views/devise/sessions/new.html.haml
trusty-cms-3.9.1 app/views/devise/sessions/new.html.haml
trusty-cms-3.9.0 app/views/devise/sessions/new.html.haml
trusty-cms-3.8.4 app/views/devise/sessions/new.html.haml
trusty-cms-3.8.3 app/views/devise/sessions/new.html.haml
trusty-cms-3.8.2 app/views/devise/sessions/new.html.haml
trusty-cms-3.8.1 app/views/devise/sessions/new.html.haml