<% css do %> <%= theme_css 'layouts/index.css', :media => 'screen' %> <%= stylesheet_link_tag 'scidea/admin/pages/schools/user_migrate' %> <% end %> <% page_title 'Migrate Users between Educational Institutions' %>

You are migrating users from:

<%= render :partial => 'school', :locals => { :school => @school } %>

Choose the educational institution to which you would like to migrate users.


<%= render :partial => 'search', :locals => { :form_url => migration_new_admin_school_path(@school), :params => params } %> <%= render_widget :paginated_list, :display, { :collection => @target_schools, :entry_name => 'educational institution', :css_class => "", :id => "schools-found", :list_renderer => [ :datatable, { :columns => [ { :label => "Name", :content => :name, :sort => 'name', :width => "300px" }, { :label => "City", :content => :city, :sort => 'city', }, { :label => "State", :content => :state, :sort => 'state', }, { :label => "Zipcode", :content => :zipcode, :sort => 'zipcode' }, { :label => "Users", :content => :user_count, :sort => 'user_count' }, { :label => "Approved", :content => lambda{ |item| item.approved ? 'Yes' : 'No' }, :sort => 'approve' }, :actions => [ lambda {|item| link_to 'Choose', confirm_migration_admin_school_path(@school, item), :class => 'do-choose', :title => "Choose" } ] ], :css_class => 'datatable', :sort_column => sort_column } ], :header => { :css_class => 'plain' }, :navigation => {} } %> <%= link_to 'Manage Educational Institutions', admin_schools_path %>