]> source.dussan.org Git - redmine.git/commitdiff
Add view_issues_form_details_top hook
authorEric Davis <edavis@littlestreamsoftware.com>
Mon, 20 Sep 2010 18:50:09 +0000 (18:50 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Mon, 20 Sep 2010 18:50:09 +0000 (18:50 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4165 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_form.rhtml

index 0b1a0749994885858f82911af8e0e09e4aa6ad44..136e1decc5a46353e99f1b523ddad2e03fe90c33 100644 (file)
@@ -1,3 +1,5 @@
+<%= call_hook(:view_issues_form_details_top, { :issue => @issue, :form => f }) %>
+
 <div id="issue_descr_fields" <%= 'style="display:none"' unless @issue.new_record? || @issue.errors.any? %>>
 <p><%= f.select :tracker_id, @project.trackers.collect {|t| [t.name, t.id]}, :required => true %></p>
 <%= observe_field :issue_tracker_id, :url => { :action => :new, :project_id => @project, :id => @issue },