<%= select_tag(e.object_name + "[empl_id]", grouped_options_for_select(Division.for_select_only_working(employee.empl_id.to_a), employee.empl_id), :class => 'empls', :onchange => "ChangeMaterials()")%> <%= link_to_remove_fields "X", e %>
Все сотрудники:<%= check_box_tag "show_all_divisions", value = "1", checked = check_employee(employee), :class => 'divisions', :onChange => "divisions_all_show(this, this.checked, '#{@current_user.division.name}')" %> <%= text_field_tag(e.object_name + "[hand]", e.object.hand, :style=>"width: 50px;", :class=>"hand", :onChange => "change_all_hand_sum()")%> <%= text_field_tag(e.object_name + "[sum]", e.object.hand_sum, :style=>"width: 80px;", :class=>"hand_sum", :onChange => "change_sum_all_hand_sum()")%>