Sha256: af8426b8d8177151c91c28f8ae845db4a1380678a7f1d2a1cf1bde947451e365

Contents?: true

Size: 1.11 KB

Versions: 42

Compression:

Stored size: 1.11 KB

Contents

<% if ActsAsTenant.current_tenant %>
  <h1><%= ActsAsTenant.current_tenant %><h1>
<% end %>

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

<%= render FlashContainerComponent.new %>

<%= 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" } %>
    <%#= f.input :remember_me, as: :hidden if devise_mapping.rememberable? %>
    <%= 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.kept.order(:id).each do |user| %>
      <li><%= link_to user, login_as_path(id: user.id) %></li>
    <% end %>
  </ul>
  </div>
<% end %>

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
pg_rails-7.6.23 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.22 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.22.pre.3 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.22.pre.2 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.22.pre.1 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21.pre.11 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21.pre.10 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21.pre.9 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21.pre.8 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21.pre.7 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21.pre.6 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21.pre.5 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21.pre.4 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21.pre.3 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21.pre.2 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.21.pre.1 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.20 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.19 pg_layout/app/views/devise/sessions/new.html.erb
pg_rails-7.6.18 pg_layout/app/views/devise/sessions/new.html.erb