Sha256: 8cba9ef53708ed3c0a89e76c71cb9a4d982c57cb108bf1145843e90d811bda6a

Contents?: true

Size: 947 Bytes

Versions: 5

Compression:

Stored size: 947 Bytes

Contents

<div class="my-8 p-4 w-full max-w-xl mx-auto shadow-xl rounded-md">

  <h2 class="text-2xl text-center font-semibold mb-4">Forgot your password?</h2>

  <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: "flex flex-col space-y-4" }) do |f| %>
    <%= render "devise/shared/error_messages", resource: resource %>

    <div class="field">
      <%= f.label :email, class: "block font-bold text-gray-700" %>
      <%= f.email_field :email, autofocus: true, autocomplete: "email", class: "mt-1 p-2 w-full border rounded-md" %>
    </div>

    <div class="actions">
      <%= f.submit "Send me reset password instructions", class: "w-full px-4 py-2 text-white bg-indigo-600 rounded hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 cursor-pointer" %>
    </div>
  <% end %>

  <div class="mt-4">
    <%= render "devise/shared/links" %>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
devise_template-0.1.4 app/views/devise/tailwind/passwords/new.html.erb
devise_template-0.1.3 app/views/devise/tailwind/passwords/new.html.erb
devise_template-0.1.2 app/views/devise/tailwind/passwords/new.html.erb
devise_template-0.1.1 app/views/devise/tailwind/passwords/new.html.erb
devise_template-0.1.0 app/views/devise/tailwind/passwords/new.html.erb