Resend confirmation instructions

<%= form_for(resource, as: resource_name, url: user_confirmation_path, html: { method: :post }) do |f| %> <%= f.email_field :email, autofocus: true, class: 'o-input-placehoder--medium-gray' + (resource.errors[:access_code].present? ? ' o-input-error' : ''), placeholder: 'Enter your email', value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %> <% if resource.errors[:email].present? %> <% end %> <%= f.submit 'Resend confirmation instructions', class: 'o-btn o-btn--xs-full o-btn--yellow o-btn--xs-full' %> <% end %>
<%= link_to 'Back to Login', lcms_engine.new_user_session_path %>