Adds a hook before the new issue form.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8193 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-12-12 18:12:03 +00:00
parent f9b6e57d24
commit 804108a87f
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
<h2><%=l(:label_issue_new)%></h2>
<%= 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' %>