summaryrefslogtreecommitdiffstats
path: root/app/views/issues/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/new.html.erb')
-rw-r--r--app/views/issues/new.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/issues/new.html.erb b/app/views/issues/new.html.erb
index 63a6e2496..45a258249 100644
--- a/app/views/issues/new.html.erb
+++ b/app/views/issues/new.html.erb
@@ -17,6 +17,12 @@
<%= check_box_tag 'copy_attachments', '1', @copy_attachments %>
</p>
<% end %>
+ <% if @copy_from && !@copy_from.leaf? %>
+ <p>
+ <label for="copy_subtasks"><%= l(:label_copy_subtasks) %></label>
+ <%= check_box_tag 'copy_subtasks', '1', @copy_subtasks %>
+ </p>
+ <% end %>
<p id="attachments_form"><label><%= l(:label_attachment_plural) %></label><%= render :partial => 'attachments/form', :locals => {:container => @issue} %></p>