-content_for :page_title, "Sign Up"

section.signon
  h1 Sign Up
  p Please fill in the following information to create a new FromThePage account. 
  =form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
    =devise_error_messages!
    .signon_field
      =f.label :login
      =f.text_field :login, autofocus: true
    .signon_field
      =f.label :email, 'Email address'
      =f.email_field :email
    .signon_field
      =f.label :password
      =f.password_field :password, autocomplete: 'off'
    .signon_field
      =f.label :password_confirmation
      =f.password_field :password_confirmation, autocomplete: 'off'
    .signon_field
      =f.label :display_name
      =f.text_field :display_name
    -if RECAPTCHA_ENABLED
      .signon_field
        =recaptcha_tags
    .signon_field
      =f.check_box :activity_email, checked: true
      =f.label :receive_activity_emails
    =f.button 'Create Account', class: 'big'
  hr
  =render 'devise/shared/links'
-unless MIXPANEL_ID.blank?
  javascript:  mixpanel.track("Sign Up");

-content_for :page_title, "Sign Up"

section.signon
  h1 Sign Up
  p Please fill in the following information to create a new FromThePage account. 
  =form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
    =devise_error_messages!
    .signon_field
      =f.label :login
      =f.text_field :login, autofocus: true
    .signon_field
      =f.label :email, 'Email address'
      =f.email_field :email
    .signon_field
      =f.label :password
      =f.password_field :password, autocomplete: 'off'
    .signon_field
      =f.label :password_confirmation
      =f.password_field :password_confirmation, autocomplete: 'off'
    .signon_field
      =f.label :display_name
      =f.text_field :display_name
    .signon_field
      =f.hidden_field :owner
      =f.hidden_field :paid_date
    -if RECAPTCHA_ENABLED
      .signon_field
        =recaptcha_tags
    .signon_field
      =f.check_box :activity_email, checked: true
      =f.label :receive_activity_emails
    =f.button 'Create Account', class: 'big'
  hr
  =render 'devise/shared/links'
-unless MIXPANEL_ID.blank?
  javascript:  mixpanel.track("Sign Up");

Fix for keeping owner signup flow with validation errors
Fix for keeping owner signup flow with validation errors

benwbrum/fromthepage,benwbrum/fromthepage,benwbrum/fromthepage,benwbrum/fromthepage