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