Sha256: d04c5f8368ed1cd2687b0d721239cc828f2b1dc8fecd71a433ff3be1c61c809a

Contents?: true

Size: 796 Bytes

Versions: 4

Compression:

Stored size: 796 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 %>
    = simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
      = f.error_notification
      = f.full_error :confirmation_token
      .form-group
        = f.input :email, required: true, autofocus: true, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email), input_html: { autocomplete: "email" }
      .form-group
        = f.button :submit, 'Resend confirmation instructions', class: 'btn btn-primary btn-block btn-lg'
    .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/simple_form/haml/confirmations/new.html.haml.tt
bootstrap_views_generator-0.1.5 lib/generators/bootstrap/templates/devise/simple_form/haml/confirmations/new.html.haml.tt
bootstrap_views_generator-0.1.4 lib/generators/bootstrap/templates/devise/simple_form/haml/confirmations/new.html.haml.tt
bootstrap_views_generator-0.1.3 lib/generators/bootstrap/templates/devise/simple_form/haml/confirmations/new.html.haml.tt