Sha256: dc4c0bad5fae7828d27473f9d7e76f5e6d6857240f7349fa76abba02d89c0788

Contents?: true

Size: 785 Bytes

Versions: 4

Compression:

Stored size: 785 Bytes

Contents

.row
  .col-lg-4.col-md-6.ml-auto.mr-auto
    <%- if options[:metatags] %>
    h2.text-center = title('Resend confirmation instructions')
    <% else -%>
    h2.text-center 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
      .form-group
        = f.label :email
        br
        = f.email_field :email, autofocus: true, class: 'form-control', value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email)
      .form-group
        = f.submit "Resend confirmation instructions", class: 'btn btn-primary btn-lg btn-block'
    .text-center
      = render 'devise/shared/links'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bootstrap_views_generator-0.1.6 lib/generators/bootstrap/templates/devise/slim/confirmations/new.html.slim.tt
bootstrap_views_generator-0.1.5 lib/generators/bootstrap/templates/devise/slim/confirmations/new.html.slim.tt
bootstrap_views_generator-0.1.4 lib/generators/bootstrap/templates/devise/slim/confirmations/new.html.slim.tt
bootstrap_views_generator-0.1.3 lib/generators/bootstrap/templates/devise/slim/confirmations/new.html.slim.tt