Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(22)

Unified Diff: app/views/news/index.rhtml

Issue 2323: Upgrade to Rails 2 SVN Base: http://familyconnect.rubyforge.org/svn/trunk/
Patch Set: Created 1 year, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
Index: app/views/news/index.rhtml
===================================================================
--- app/views/news/index.rhtml (revision 36)
+++ app/views/news/index.rhtml (working copy)
@@ -10,7 +10,7 @@
<!-- Tag Search Form -->
<div style="text-align: center">
- <%= start_form_tag :action => 'search', :id => (@author ? @author.id : nil) %>
+ <% form_tag :action => 'search', :id => (@author ? @author.id : nil) do %>
Search by author:
<%= collection_select 'search', 'user_id',
User.find(:all, :order => 'lastname, firstname'),
@@ -19,7 +19,7 @@
<%= text_field 'search', 'tags', :size => 10 %>
<%= submit_tag 'Go' %>
<%= link_to_function "show tags", "toggle_tags()" %>
- <%= end_form_tag %>
+ <% end %>
</div>
<p></p>
<!-- End Tag Search Form -->

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r497