Merge pull request #453 from warpc/451-advisories_partial_name_error

[refs #451] Fix partial name
This commit is contained in:
Alexander Machehin 2012-05-14 01:32:27 -07:00
commit 5fcf9c3ffa
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@
.rightlist= check_box_tag :create_advisory, 1, false
.both
= f.fields_for @build_list.build_advisory do |f|
= render :partial => 'advisories/advisories/form', :locals => {:f => f}
= render :partial => 'advisories/form', :locals => {:f => f}
= submit_tag t("layout.publish"), :confirm => t("layout.confirm"), :name => 'publish' if @build_list.can_publish? and can?(:publish, @build_list)
= submit_tag t("layout.reject_publish"), :confirm => t("layout.confirm"), :name => 'reject_publish' if @build_list.can_reject_publish? and can?(:reject_publish, @build_list)