%h2 Sign up = form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| = devise_error_messages! .field = f.label :username %br/ = f.text_field :username, autofocus: true, autocomplete: "username" .field = f.label :email %br/ = f.email_field :email, autocomplete: "email" .field = f.label :password - if @minimum_password_length %em (#{@minimum_password_length} characters minimum) %br/ = f.password_field :password, autocomplete: "new-password" .field = f.label :password_confirmation %br/ = f.password_field :password_confirmation, autocomplete: "new-password" = recaptcha_tags .actions = f.submit "Sign up" = render "devise/shared/links"