summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-29 17:25:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-29 17:25:22 +0000
commit317b460d96523c234d2dc2343a9774888c74d44c (patch)
tree806f58e48338133111bf1e2facbf7e62299fa502 /app/views
parentc8b3c8dfec4c768658be5482234c7a05808e6963 (diff)
downloadredmine-317b460d96523c234d2dc2343a9774888c74d44c.tar.gz
redmine-317b460d96523c234d2dc2343a9774888c74d44c.zip
Some deprecation fixes (end_form_tag and count API).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@676 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/account/show.rhtml2
-rw-r--r--app/views/roles/report.rhtml4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml
index 4f1bf45e2..97212b377 100644
--- a/app/views/account/show.rhtml
+++ b/app/views/account/show.rhtml
@@ -24,5 +24,5 @@
<h3><%=l(:label_activity)%></h3>
<p>
-<%=l(:label_reported_issues)%>: <%= Issue.count(["author_id=?", @user.id]) %>
+<%=l(:label_reported_issues)%>: <%= Issue.count(:conditions => ["author_id=?", @user.id]) %>
</p> \ No newline at end of file
diff --git a/app/views/roles/report.rhtml b/app/views/roles/report.rhtml
index 676e25f39..ca2f9d798 100644
--- a/app/views/roles/report.rhtml
+++ b/app/views/roles/report.rhtml
@@ -1,6 +1,6 @@
<h2><%=l(:label_permissions_report)%></h2>
-<%= start_form_tag({:action => 'report'}, :id => 'permissions_form') %>
+<% form_tag({:action => 'report'}, :id => 'permissions_form') do %>
<%= hidden_field_tag 'permissions[0]', '' %>
<table class="list">
<thead>
@@ -28,4 +28,4 @@
</table>
<p><%= check_all_links 'permissions_form' %></p>
<p><%= submit_tag l(:button_save) %></p>
-<%= end_form_tag %>
+<% end %>