socialforge/app/views/issues/new.html.erb

28 lines
879 B
Plaintext
Raw Normal View History

2015-12-06 15:03:36 +08:00
<%= content_for(:header_tags) do %>
2015-12-14 17:13:57 +08:00
<%= import_ke(enable_at: true, prettify: false, init_activity: false) %>
2015-12-06 15:03:36 +08:00
<% end %>
2015-12-16 10:19:48 +08:00
<script type="text/javascript">
$(function(){
$("#RSide").removeAttr("id");
$("#Container").css("width","1000px");
});
</script>
2016-10-25 09:28:09 +08:00
<!--新建缺陷开始-->
<div class="pro_new_con ">
<div class="pro_newissue_con clear">
<%= call_hook(:view_issues_new_top, {:issue => @issue}) %>
<%= labelled_form_for @issue, :url => project_issues_path(@project),
:html => {:id => 'issue-form', :multipart => true} do |f| %>
<%= error_messages_for 'issue' %>
<%= hidden_field_tag 'copy_from', params[:copy_from] if params[:copy_from] %>
<div>
<%= render :partial => 'issues/form', :locals => {:f => f} %>
</div>
<% end %>
</div>
</div>
<!--新建缺陷结束-->