blob: c4453a6169a66da9c47a47480df64e8587a3b782 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<%= form_tag({:action => 'edit', :tab => 'timelog'}) do %>
<div class="box tabular settings">
<p><%= setting_multiselect(:timelog_required_fields,
[[l(:field_issue), 'issue_id'], [l(:field_comments), 'comments'] ]) %></p>
</div>
<fieldset class="box">
<legend><%= l(:setting_time_entry_list_defaults) %></legend>
<% query = TimeEntryQuery.new(Setting.time_entry_list_defaults) %>
<%= render_query_columns_selection(query,
:name => 'settings[time_entry_list_defaults][column_names]') %>
<p>
<label><%= l(:label_total_plural) %></label>
<%= available_totalable_columns_tags(query,
:name => 'settings[time_entry_list_defaults][totalable_names]') %>
</p>
</fieldset>
<%= submit_tag l(:button_save) %>
<% end %>
|