##// END OF EJS Templates
Rails3: view: html_safe for issues/destroy.html.erb...
Toshi MARUYAMA -
r8192:28d2896f9088
parent child
Show More
@@ -1,15 +1,15
1 1 <h2><%= l(:label_confirmation) %></h2>
2 2
3 3 <% form_tag do %>
4 <%= @issues.collect {|i| hidden_field_tag 'ids[]', i.id } %>
4 <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join("\n").html_safe %>
5 5 <div class="box">
6 6 <p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p>
7 7 <p>
8 8 <label><%= radio_button_tag 'todo', 'destroy', true %> <%= l(:text_destroy_time_entries) %></label><br />
9 9 <label><%= radio_button_tag 'todo', 'nullify', false %> <%= l(:text_assign_time_entries_to_project) %></label><br />
10 10 <label><%= radio_button_tag 'todo', 'reassign', false, :onchange => 'if (this.checked) { $("reassign_to_id").focus(); }' %> <%= l(:text_reassign_time_entries) %></label>
11 11 <%= text_field_tag 'reassign_to_id', params[:reassign_to_id], :size => 6, :onfocus => '$("todo_reassign").checked=true;' %>
12 12 </p>
13 13 </div>
14 14 <%= submit_tag l(:button_apply) %>
15 15 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now