Sha256: 2d4aa06719e4f91fa92de787bbdd9af350b4880dd692ae7da84219734d4e11c3

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

<% if flash[:alert] %>
  <div class="alert alert-danger"><%= flash[:alert] %></div>
<% end %>

<div data-hook="login" class="card border-0">
  <div class="card-body">
    <%= form_for Spree.user_class.new, :as => :spree_user, :url => spree.admin_create_new_session_path do |f| %>
      <div id="password-credentials">
        <div class="form-group text-center">
          <%= f.label :email, Spree.t(:email) %>
          <%= f.email_field :email, class: 'form-control', tabindex: 1, placeholder: Spree.t(:email) %>
        </div>
        <div class="form-group text-center">
          <%= f.label :password, Spree.t(:password) %>
          <%= f.password_field :password, :class => 'form-control', :tabindex => 2, placeholder: Spree.t(:password) %>
        </div>
      </div>
      <div class="checkbox form-group">
        <div class="row">
          <div class="col-lg-6">
            <%= f.label :remember_me do %>
              <%= f.check_box :remember_me, :tabindex => 3 %>
              <%= Spree.t(:remember_me) %>
            <% end %>
          </div>
          <div class="col-lg-6 text-right">
            <%= link_to Spree.t(:forgot_password), spree.admin_recover_password_path %>
          </div>
        </div>
      </div>
      <div class="form-group">
        <%= f.submit Spree.t(:login), :class => 'btn btn-primary btn-block', :tabindex => 4 %>
      </div>
    <% end %>
  </div>
</div>

<div data-hook="login_extras"></div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_auth_devise-4.4.2 lib/views/backend/spree/admin/user_sessions/new.html.erb