Sha256: 2dd3e9f7d5f661a425243446d521c38c725c0b9d199345613f6b1f5e538e4a24

Contents?: true

Size: 1016 Bytes

Versions: 5

Compression:

Stored size: 1016 Bytes

Contents

<div class="block max-w-sm mx-auto my-8 p-6 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700">
  <h2>Log in</h2>

  <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
    <div class="mb-3">
      <%= f.label :email, class: "form-label" %>
      <%= f.email_field :email, autofocus: true, autocomplete: "email", class: "form-control" %>
    </div>

    <div class="mb-3">
      <%= f.label :password, class: "form-label" %>
      <%= f.password_field :password, autocomplete: "current-password", class: "form-control" %>
    </div>

    <% if devise_mapping.rememberable? %>
      <div class="mb-3">
        <%= f.check_box :remember_me, class: "form-check-input" %>
        <%= f.label :remember_me, class: "form-check-label"%>
      </div>
    <% end %>

    <div class="mb-3">
      <%= f.submit "Log in", class: "btn btn-primary"%>
    </div>
  <% end %>

  <div class="text-center">
    <%= render "devise/shared/links" %>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_app-0.9.0 lib/rails_app/template/app_tailwind/views/devise/sessions/new.html.erb
rails_app-0.8.1 lib/rails_app/template/app_tailwind/views/devise/sessions/new.html.erb
rails_app-0.8.0 lib/rails_app/template/app_tailwind/views/devise/sessions/new.html.erb
rails_app-0.7.0 lib/rails_app/template/app_tailwind/views/devise/sessions/new.html.erb
rails_app-0.6.0 lib/rails_app/template/app_tailwind/views/devise/sessions/new.html.erb