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