| 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 --> |