Skip to content

Commit

Permalink
Forms should be used with <%=
Browse files Browse the repository at this point in the history
  • Loading branch information
goncalossilva committed May 30, 2010
1 parent 3106b96 commit 669b86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/base.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<div id="header">
<div id="quick-search">
<% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
<%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
<%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
<%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
<%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
Expand Down

0 comments on commit 669b86a

Please sign in to comment.