summaryrefslogtreecommitdiffstats
path: root/app/views/news
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-26 19:56:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-26 19:56:25 +0000
commit845460b16525dc350a12a9f1bde2109caa1a53b6 (patch)
tree746f9b896bc13b3165c4507652adfe8294fa3efc /app/views/news
parent7c27fb7c1d9866f68b9e444cd3af68256cdc637a (diff)
downloadredmine-845460b16525dc350a12a9f1bde2109caa1a53b6.tar.gz
redmine-845460b16525dc350a12a9f1bde2109caa1a53b6.zip
deprecated start_form_tag replaced by form_tag
git-svn-id: http://redmine.rubyforge.org/svn/trunk@184 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/news')
-rw-r--r--app/views/news/show.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml
index c3661b1f8..3d4d0a4a1 100644
--- a/app/views/news/show.rhtml
+++ b/app/views/news/show.rhtml
@@ -24,10 +24,10 @@
</div>
<% if authorize_for 'news', 'add_comment' %>
-<%= start_form_tag :action => 'add_comment', :id => @news %>
+<% form_tag({:action => 'add_comment', :id => @news}) do %>
<%= error_messages_for 'comment' %>
<p><label for="comment_comment"><%= l(:label_comment_add) %></label><br />
<%= text_area 'comment', 'comment', :cols => 60, :rows => 6 %></p>
<%= submit_tag l(:button_add) %>
-<%= end_form_tag %>
+<% end %>
<% end %> \ No newline at end of file