<%= 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 => remote_function(:url => {:controller => 'soft', :action => 'change_materials'}, :with => "'employees=' + get_employee_ids()", :method => :get))%>
<%= 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}')" %>
|
<%= text_field_tag e.object_name + "[time_work]", employee.time_work, :size => 2 %> |
<%= text_field_tag e.object_name + "[time_addwork]", employee.time_addwork, :size => 2 %> |
<%= text_field_tag e.object_name + "[time_stopwork]", employee.time_stopwork, :size => 2 %> |