| <%= label_tag :chart_type, l(:label_resources_chart_type) %> |
<%= select_tag :chart_type,
custom_options_for_select(chart_type_options, @query.chart_type),
onchange: "$('#query_form').attr('action', this.value === 'issues_chart' ? 'resource_issues' : 'resource_bookings' ).submit();"
%>
|
| <%= label_tag :workload_type_type, l(:label_resources_workload_type) %> |
<%= select_tag :workload_type, custom_options_for_select(workload_type_options, @query.workload_type) %> |
| <%= label_tag :line_title_type, l(:label_resources_line_title) %> |
<%= select_tag :line_title_type, custom_options_for_select(line_title_type_options, @query.line_title_type) %> |
| <%= l(:button_show) %> |
|