= content_for :title, t('.titles.site')

= render 'devise/shared/header'

.row
  .large-5.medium-7.large-centered.columns
    .login-box.animated.fadeIn
      h3.text-center You're almost done!
      hr

      .large-11.large-centered.columns
        = simple_form_for(resource, as: resource_name, url: confirm_path) do |f|
          = devise_error_messages!
          = f.input :confirmation_token, as: :hidden
          - if resource.bonds_early_adopter?
            = f.input :password, required: true, placeholder: false, input_html: { autofocus: true }
          = f.input :name, as: :string, placeholder: false, label: t('.form.labels.name')
          = f.submit t('.form.inputs.submit'), class: [:button, 'large-12', 'columns']

= content_for :title, t('.titles.site')

= render 'devise/shared/header'

.row
  .large-5.medium-7.large-centered.columns
    .login-box.animated.fadeIn
      h3.text-center You're almost done!
      hr

      .large-11.large-centered.columns
        = simple_form_for(resource, as: resource_name, url: confirm_path) do |f|
          = f.input :confirmation_token, as: :hidden
          - if resource.bonds_early_adopter?
            = f.input :password, required: true, placeholder: false, input_html: { autofocus: true }
          = f.input :name, as: :string, placeholder: false, label: t('.form.labels.name')
          = f.submit t('.form.inputs.submit'), class: [:button, 'large-12', 'columns']

Remove duplicated error messages on confirmations show form
Remove duplicated error messages on confirmations show form

gustavoguichard/neighborly,gustavoguichard/neighborly,gustavoguichard/neighborly