Sha256: cf4aa463e2bb133927c261e9578473193bc2648fd18c3735912cc627c45854fb

Contents?: true

Size: 1.43 KB

Versions: 4

Compression:

Stored size: 1.43 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

4 entries across 4 versions & 1 rubygems

Version Path
spree_auth_devise-4.4.1 lib/views/backend/spree/admin/user_sessions/new.html.erb
spree_auth_devise-4.4.0 lib/views/backend/spree/admin/user_sessions/new.html.erb
spree_auth_devise-4.3.4 lib/views/backend/spree/admin/user_sessions/new.html.erb
spree_auth_devise-4.3.3 lib/views/backend/spree/admin/user_sessions/new.html.erb