Sha256: 4a26d5e45f6610cc9435fc20d696531ea5eb08bf19121040903ef1ef027228c2

Contents?: true

Size: 881 Bytes

Versions: 3

Compression:

Stored size: 881 Bytes

Contents

<h2><%= t(".sign_in") %></h2>

<%= pg_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
  <div class="form-inputs">
    <%= f.input :email,
                required: false,
                autofocus: true,
                input_html: { autocomplete: "email" } %>
    <%= f.input :password,
                required: false,
                input_html: { autocomplete: "current-password" } %>
    <%# TODO!: corregir style de checkbox %>
    <%#= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, t(".sign_in") %>
  </div>
<% end %>

<%= render "devise/shared/links" %>

<% if Rails.env.development? %>
  <br>
  <br>
  <br>
  <ul>
    <% User.all.each do |user| %>
      <li><%= link_to user, admin_login_as_path(id: user.id) %></li>
    <% end %>
  </ul>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pg_rails-7.0.8.pre.alpha.24 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.0.8.pre.alpha.23 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.0.8.pre.alpha.22 pg_layout/app/views/devise/sessions/new.html.erb