Sha256: 17af58ee886730720a1a2048dce956573cd7544d5717c4c070607685f32f1608

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

<div class="col-lg-11 mx-auto">
  <h3 class="harpiya-mb-large harpiya-mt-large harpiya-header"><%= Harpiya.t(:log_in_to_continue) %></h3>
  <%= form_for Harpiya.user_class.new, as: :harpiya_user, url: harpiya_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: 'harpiya-flat-input', placeholder: Harpiya.t(:email), value: params.dig(:harpiya_user, :email) %>
        </p>
      </div>
      <div class="form-group mb-4">
        <p class="form-group checkout-content-inner-field">
          <%= f.password_field :password, class: 'harpiya-flat-input', placeholder: Harpiya.t(:password) %>
        </p>
      </div>
    </div>

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

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

    <%= f.submit Harpiya.t(:login), class: 'btn btn-primary btn-block harpiya-btn mt-2' %>
  <% end %>

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
harpiya_frontend-4.3.0.alpha app/views/harpiya/shared/_login.html.erb