Sha256: 1da4a7ff8f4e3701e97b1de28374bab2d145fd56b3cb7923f85d0836eca0130c
Contents?: true
Size: 1.02 KB
Versions: 5
Compression:
Stored size: 1.02 KB
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">Resend confirmation instructions</h2> <%= form_for(resource, as: resource_name, url: confirmation_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", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email), class: "mt-1 p-2 w-full border rounded-md" %> </div> <div class="actions"> <%= f.submit "Resend confirmation 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