Sha256: 5263bf684fc4b8aee46bcb80bad8b206ed7e4b95e6e6fb94bcb217dbd10f3081

Contents?: true

Size: 1.43 KB

Versions: 6

Compression:

Stored size: 1.43 KB

Contents

<div class="col-lg-11 mx-auto">
  <h3 class="spree-mb-large spree-mt-large spree-header"><%= Spree.t(:log_in_to_continue) %></h3>
  <%= form_for Spree.user_class.new, as: :spree_user, url: spree_login_path do |f| %>
    <div id="password-credentials" class="mb-4">
      <div class="form-group mb-4">
        <p class="form-group checkout-content-inner-field">
          <%= f.email_field :email, class: 'spree-flat-input', placeholder: Spree.t(:email), value: params.dig(:spree_user, :email) %>
        </p>
      </div>
      <div class="form-group mb-4">
        <p class="form-group checkout-content-inner-field">
          <%= f.password_field :password, class: 'spree-flat-input', placeholder: Spree.t(:password) %>
        </p>
      </div>
    </div>

    <% if Spree::Frontend::Config[:remember_me_enabled] %>
      <div class="spree-checkbox-container mt-4 mt-sm-5 mt-lg-4 spree-mb-medium">
        <div class="spree-checkbox">
          <%= f.check_box :remember_me %>
          <%= f.label :remember_me, '' %>
        </div>

        <%= f.label :remember_me, Spree.t(:remember_me), class: 'spree-checkbox-label' %>
      </div>
    <% end %>

    <%= f.submit Spree.t(:log_in), class: 'btn btn-primary btn-block spree-btn mt-2' %>
  <% end %>

  <% if spree.respond_to?(:recover_password_path) %>
    <div class="text-center forgot-password mb-4">
      <%= link_to Spree.t(:forgot_password), spree.recover_password_path %>
    </div>
  <% end %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_frontend-4.2.0.rc5 app/views/spree/shared/_login.html.erb
spree_frontend-4.2.0.rc4 app/views/spree/shared/_login.html.erb
spree_frontend-4.2.0.rc3 app/views/spree/shared/_login.html.erb
spree_frontend-4.2.0.rc2 app/views/spree/shared/_login.html.erb
spree_frontend-4.2.0.rc1 app/views/spree/shared/_login.html.erb
spree_frontend-4.2.0.beta app/views/spree/shared/_login.html.erb