@@ -1,17 +1,18 | |||||
1 | <h2><%= l(:label_confirmation) %></h2> |
|
1 | <h2><%= l(:label_confirmation) %></h2> | |
2 |
|
2 | |||
3 | <%= form_tag({}, :method => :delete) do %> |
|
3 | <%= form_tag({}, :method => :delete) do %> | |
4 | <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id, :id => nil)}.join("\n").html_safe %> |
|
4 | <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id, :id => nil)}.join("\n").html_safe %> | |
5 | <div class="box"> |
|
5 | <div class="box"> | |
6 | <p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p> |
|
6 | <p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p> | |
7 | <p> |
|
7 | <p> | |
8 | <label><%= radio_button_tag 'todo', 'destroy', true %> <%= l(:text_destroy_time_entries) %></label><br /> |
|
8 | <label><%= radio_button_tag 'todo', 'destroy', true %> <%= l(:text_destroy_time_entries) %></label><br /> | |
9 | <label><%= radio_button_tag 'todo', 'nullify', false %> <%= l(:text_assign_time_entries_to_project) %></label><br /> |
|
9 | <label><%= radio_button_tag 'todo', 'nullify', false %> <%= l(:text_assign_time_entries_to_project) %></label><br /> | |
10 | <% if @project %> |
|
10 | <% if @project %> | |
11 | <label><%= radio_button_tag 'todo', 'reassign', false, :onchange => 'if (this.checked) { $("#reassign_to_id").focus(); }' %> <%= l(:text_reassign_time_entries) %></label> |
|
11 | <label><%= radio_button_tag 'todo', 'reassign', false, :onchange => 'if (this.checked) { $("#reassign_to_id").focus(); }' %> <%= l(:text_reassign_time_entries) %></label> | |
12 | <%= text_field_tag 'reassign_to_id', params[:reassign_to_id], :size => 6, :onfocus => '$("#todo_reassign").attr("checked", true);' %> |
|
12 | <%= text_field_tag 'reassign_to_id', params[:reassign_to_id], :size => 6, :onfocus => '$("#todo_reassign").attr("checked", true);' %> | |
|
13 | <%= javascript_tag "observeAutocompleteField('reassign_to_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project)}')" %> | |||
13 | <% end %> |
|
14 | <% end %> | |
14 | </p> |
|
15 | </p> | |
15 | </div> |
|
16 | </div> | |
16 | <%= submit_tag l(:button_apply) %> |
|
17 | <%= submit_tag l(:button_apply) %> | |
17 | <% end %> |
|
18 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now