<%= 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_field "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}')" %> C: <%= text_field_tag (e.object_name + "[time_addwork]"), employee.time_addwork, {:alt =>"time", :class => "required time", :style => "width:50px"}%> По: <%= text_field_tag e.object_name + "[time_stopwork]", employee.time_stopwork, :alt =>"time", :class => "required time", :style => "width:50px"%>