Sha256: 248a51b8fff1c48d9437bf1d6c127a899cc96b45bda1b0b2b0c567a5a33f6af5

Contents?: true

Size: 1.14 KB

Versions: 4

Compression:

Stored size: 1.14 KB

Contents

<% if @navbar.logo_xl_url.present? %>
  <div class="mx-3 my-4 m-md-5">
    <%= image_tag @navbar.logo_xl_url, class: 'img-fluid' %>
  </div>
<% end %>

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

<%= render partial: 'pg_layout/flash_container' %>
<%= 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 dev_user_or_env? %>
  <div class="text-end" style="margin-top: 500px">
  <br>
  <br>
  <br>
  <ul style="max-width: 500px">
    <% User.order(:id).each do |user| %>
      <li><%= link_to user, admin_login_as_path(id: user.id) %></li>
    <% end %>
  </ul>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pg_rails-7.0.8.pre.alpha.51 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.0.8.pre.alpha.50 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.0.8.pre.alpha.49 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.0.8.pre.alpha.48 pg_layout/app/views/devise/sessions/new.html.erb