<%= javascript_include_tag '/zxcvbn.js' %>

<%= @page_title = t(:new_account) %>

<%= form_tag("#{signup_path}/#{URI::escape(@token)}", method: "post") do %> <%= render 'email', domains: @domains %>
<%= label_tag(:new, (t :new_pw)) %> (<%= t(:password_help) %>) <%= password_field_tag(:new, "", value: @new_pw, autofill: 'off', class: "form-control") %>
<%= label_tag(:confirm, (t :confirm_pw)) %> <%= password_field_tag(:confirm, "", class: "form-control") %>
<%= label_tag(:recovery_email, (t :recovery_email)) %> <%= text_field_tag(:recovery_email, '', value: @recovery_email, class: "form-control") %>
<%= t :recovery_token_help %>
class="form-check-input" />
class="form-check-input" />
class="form-check-input" />
<%= submit_tag(t(:create), class: 'btn btn-primary') %>
<% end %>