<%= labelled_fields_for :issue, @issue do |f| %> <%#= call_hook(:view_issues_form_details_top, {:issue => @issue, :form => f}) %>
  • <% if @copy_from && !@copy_from.leaf? %>

    <%= check_box_tag 'copy_subtasks', '1', @copy_subtasks %>

    <% end %>

  • <%= render :partial => 'attachments/form', :locals => {:container => @issue} %>
  • <%= render :partial => 'issues/attributes' %>
    <%= call_hook(:view_issues_form_details_bottom, {:issue => @issue, :form => f}) %> <% end %> 确定 <% if params[:action] == "new" %> <% if @copy_from %> <%= link_to "取消", issue_path(@copy_from), :class => "grey_btn fl mr50 ml10" %> <% end %> <% else %> 取消 <% end %>