<%= _('Transfer Ownership') %>

<%= _('This option allows you to transfer this enterprise\'s management to another user. This action will remove all the current administrators. Be careful when confirming this procedure.') %>
<% if !profile.admins.blank? %> <%= _('Current administrators:') %> <% end %> <% form_tag do %> <% @roles.each do |role|%> <%= content_tag('b', _('Administrator:')) %> <% search_action = {:controller => 'profile_members', :action => 'search_user', :role => role.id, :profile => profile.identifier} %> <%= token_input_field_tag('q_'+role.key, 'search_'+role.key, search_action, { :hint_text => _('Type in a search term for the new administrator'), :focus => true, :token_limit => 1}) %> <% end %> <% button_bar do %> <%= submit_button('save', _('Save'))%> <%= button('cancel', _('Cancel'), {:controller => 'profile_editor'})%> <% end %> <% end %>