2009-04-24 21:03:22 +04:00
|
|
|
<h2><%= l(:label_confirmation) %></h2>
|
2008-03-01 01:54:07 +03:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
<%= form_tag({}, :method => :delete) do %>
|
2011-12-22 10:51:42 +04:00
|
|
|
<%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join("\n").html_safe %>
|
2008-03-01 01:54:07 +03:00
|
|
|
<div class="box">
|
2009-04-24 21:18:36 +04:00
|
|
|
<p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p>
|
2008-03-01 01:54:07 +03:00
|
|
|
<p>
|
|
|
|
<label><%= radio_button_tag 'todo', 'destroy', true %> <%= l(:text_destroy_time_entries) %></label><br />
|
|
|
|
<label><%= radio_button_tag 'todo', 'nullify', false %> <%= l(:text_assign_time_entries_to_project) %></label><br />
|
2012-07-22 17:29:26 +04:00
|
|
|
<label><%= radio_button_tag 'todo', 'reassign', false, :onchange => 'if (this.checked) { $("#reassign_to_id").focus(); }' %> <%= l(:text_reassign_time_entries) %></label>
|
|
|
|
<%= text_field_tag 'reassign_to_id', params[:reassign_to_id], :size => 6, :onfocus => '$("#todo_reassign").attr("checked", true);' %>
|
2008-03-01 01:54:07 +03:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<%= submit_tag l(:button_apply) %>
|
|
|
|
<% end %>
|