%= form_for @user, url: (@user.new? ? CartoDB.url(self, 'create_organization_user', user: current_user) : CartoDB.url(self, 'update_organization_user', params: { id: @user.username }, user: current_user)), :html => {:class => 'Form js-organizationUserForm CDB-Text'} do |f| %>
<%= f.hidden_field :private_tables_enabled %>
<%= hidden_field_tag :show_account_settings_flash, true %>
<%= csrf_meta_tags %>
<%= render :partial => 'admin/organization_users/form/user_details', locals:{f:f} %>
<%= render :partial => 'admin/organization_users/form/user_type', locals:{f:f} %>
<%= render :partial => 'admin/organization_users/form/administrator', locals:{f:f} %>
<%= render :partial => 'admin/organization_users/form/mfa', locals:{f:f} %>
<%= render :partial => 'admin/organization_users/form/quotas', locals:{f:f} %>
<%= render :partial => 'admin/organization_users/form/api_key', locals:{f:f} %>
<%= render :partial => 'admin/organization_users/form/submit', locals:{f:f} %>
<% end %>