<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% form_id = "where_used_member_job_#{@member_job.id}" %> <% fields_for @member_job do |fields| %>
<%= fields.label :member_job, t_label("common.switch_label"), :class => "x-form-item label" %>

<%= t('member_jobs.whereused.member_job_caption') %>

<%= button_to_function("Switch", "try {helpsys.CntMgr.getController('#{form_id}').switchMemberJob();} catch(e) {console.log(e);};return false;", :class => "save-button") %>
<% end %>