<%= t(".heading") %>

<%= error_messages_for :user %> <%= form_for resource, as: :user_registration, url: registration_path(resource_name), :html => {:id => "user_registration_form"} do |f| %> <%= hidden_field_tag :invitation_token, resource.invitation_token %>
<%= t(".legend.user") %> <%= render :partial => "passwd", :locals => {:f => f} %>
<%= t(".legend.legal") %> <%= render :partial => "legal", :locals => {:f => f} %>
<%= t(".submit") %>

<%= link_to t(".cancel"), root_path %> <%= submit_tag t(".submit"), data: { disable_with: t(".wait") } %>

<% end %>