Sha256: c77fb526198d71e2d4ebf3d677d0946b09a8d98da2667cd5a89519858e86047e

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

%div{class: 'md:mx-auto md:max-w-md overflow-hidden mx-0'}
  .shadow-md.rounded.px-8.pt-6.pb-8.mb-4.flex.flex-col.justify-center.bg-gray-50
<%- if options[:metatags] -%>
    %h2.text-center.text-xl.text-black= title('Resend confirmation instructions')
<%- else -%>
    %h2.text-center.text-xl.text-black Resend confirmation instructions
<%- end -%>

    = form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
      = render 'devise/shared/error_messages', resource: resource
      .mb-4
        = f.label :email, class: 'text-sm font-medium text-gray-600'
        = f.email_field :email, autofocus: true, autocomplete: 'email', value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email), class: 'shadow appearance-none border border-gray-300 rounded w-full py-2 px-3 bg-white focus:outline-none focus:ring-0 focus:border-blue-500 text-gray-400 leading-6 transition-colors duration-200 ease-in-out'
      = f.submit "Resend confirmation instructions" class: 'my-2 bg-blue-500 hover:bg-blue-700 text-white font-bold text-sm py-2 px-4 rounded w-full'
    = render 'devise/shared/links' %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tailwind_views_generator-0.0.3 lib/templates/devise/haml/confirmations/new.html.haml.tt
tailwind_views_generator-0.0.2 lib/templates/devise/haml/confirmations/new.html.haml.tt
tailwind_views_generator-0.0.1 lib/templates/devise/haml/confirmations/new.html.haml.tt