Sha256: df7a707d687457bc5dbfee519761baa8c094a7460de1a27877ac178949d9047f

Contents?: true

Size: 1.43 KB

Versions: 6

Compression:

Stored size: 1.43 KB

Contents

<div class="w-full max-w-xs">
    <h1 class="font-hairline mb-6 text-center">Resend Confirmation Instructions</h1>

    <%= form_for(resource,
                 as: resource_name,
                 url: confirmation_path(resource_name),
                 html: {
                         method: :post,
                         class: "bg-white mb-4 px-8 pt-6 pb-8 rounded shadow-md"
                 }) do |f| %>

        <%#= render "devise/shared/error_messages", resource: resource %>
        <%= devise_error_messages! %>

        <div class="mb-4">
            <%= f.label :email, class: "block font-bold mb-2 text-gray-700 text-sm" %>
            <%= f.email_field :email,
                              autofocus: true,
                              autocomplete: "email",
                              value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email),
                              class: "appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none shadow focus:shadow-outline"
            %>
        </div>

        <div class="mb-4">
            <%= f.submit "Resend Confirmation Info",
                         class: "button bg-blue-500 hover:bg-blue-700 font-bold text-white focus:outline-none py-2 px-4 rounded focus:shadow-outline w-full"
            %>
        </div>

        <%= render "devise/shared/links" %>
    <% end %>

    <%= render "devise/shared/form_footer" %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
devise-tailwindcssed-0.1.6 app/views/devise/confirmations/new.html.erb
devise-tailwindcssed-0.1.4 app/views/devise/confirmations/new.html.erb
devise-tailwindcssed-0.1.5 app/views/devise/confirmations/new.html.erb
devise-tailwindcssed-0.1.3 app/views/devise/confirmations/new.html.erb
devise-tailwindcssed-0.1.1 app/views/devise/confirmations/new.html.erb
devise-tailwindcssed-0.1.0 app/views/devise/confirmations/new.html.erb