Sha256: c526d255fe6aaaf25d75204795e1d69b3de3d560bf4e37207f426e9c8dc77363

Contents?: true

Size: 801 Bytes

Versions: 9

Compression:

Stored size: 801 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::UserSession) %>
    <%= 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.3.0 app/views/symphonia/login/_form.html.erb
symphonia-3.2.4 app/views/symphonia/login/_form.html.erb
symphonia-3.2.3 app/views/symphonia/login/_form.html.erb
symphonia-3.2.2 app/views/symphonia/login/_form.html.erb
symphonia-3.2.1 app/views/symphonia/login/_form.html.erb
symphonia-3.1.5 app/views/symphonia/login/_form.html.erb
symphonia-3.1.4 app/views/symphonia/login/_form.html.erb
symphonia-3.1.3 app/views/symphonia/login/_form.html.erb
symphonia-3.1.2 app/views/symphonia/login/_form.html.erb