Sha256: 2493ea87d7b50f5228983b415752e750ea2266e6f87f632d3ec6e52ec7e39116

Contents?: true

Size: 749 Bytes

Versions: 11

Compression:

Stored size: 749 Bytes

Contents

<%= f.error_messages %>
<%= hidden_field_tag(:back_url, back_url || session[:back_url]) %>
<%= f.text_field :login, required: true, autofocus: true, autocomplete: "username" %>

<%= f.password_field :password, required: true, autocomplete: "current-password" %>

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

  <%= 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 %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
symphonia-6.0.2 app/views/symphonia/login/_form.html.erb
symphonia-6.0.1 app/views/symphonia/login/_form.html.erb
symphonia-6.0.0 app/views/symphonia/login/_form.html.erb
symphonia-5.0.6 app/views/symphonia/login/_form.html.erb
symphonia-5.0.5 app/views/symphonia/login/_form.html.erb
symphonia-5.0.4 app/views/symphonia/login/_form.html.erb
symphonia-5.0.3 app/views/symphonia/login/_form.html.erb
symphonia-5.0.0 app/views/symphonia/login/_form.html.erb
symphonia-4.2.0 app/views/symphonia/login/_form.html.erb
symphonia-4.1.3 app/views/symphonia/login/_form.html.erb
symphonia-4.1.2 app/views/symphonia/login/_form.html.erb