Sha256: c6459220f62412b8710a5db043968b19055ca11be7cb690375e32c026a8b27af

Contents?: true

Size: 794 Bytes

Versions: 9

Compression:

Stored size: 794 Bytes

Contents

<%= f.error_messages %>
<%= hidden_field_tag(:back_url, params[:back_url].presence || request.env['HTTP_REFERER'].presence || session[:back_url]) %>
<%= f.text_field :login, required: true, autofocus: true %>

<%= f.password_field :password, required: true %>

<%= f.form_group :remember_me do %>
  <%= f.check_box :remember_me %>
<% end %>

<%= f.form_group class: 'text-center' do %>
  <%= f.submit t(:button_login), class: 'btn btn-primary btn-block' %>
  <% if f.object.is_a?(Symphonia::User) %>
    <%= link_to(t(:label_reset_password), lost_password_account_path, remote: true, class: 'btn btn-link btn-sm ') %>
    <% if Symphonia.config[:allow_registrations] %>
      <%= link_to(t(:button_register), register_path, class: 'btn btn-link btn-sm ') %>
    <% end %>
  <% end %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
symphonia-3.1.1 app/views/symphonia/login/_form.html.erb
symphonia-3.1.0 app/views/symphonia/login/_form.html.erb
symphonia-3.0.3 app/views/symphonia/login/_form.html.erb
symphonia-3.0.2 app/views/symphonia/login/_form.html.erb
symphonia-2.2.1 app/views/symphonia/login/_form.html.erb
symphonia-3.0.1 app/views/symphonia/login/_form.html.erb
symphonia-3.0.0 app/views/symphonia/login/_form.html.erb
symphonia-2.1.8 app/views/symphonia/login/_form.html.erb
symphonia-2.1.7 app/views/symphonia/login/_form.html.erb