Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% form_for :searches, @search, :url => searches_path, :html => {:method => :post} do |f| %>
- <%= f.error_messages %>
- <p>
- <%= f.label :keywords %><br />
- <%= f.text_field :keywords %>
- </p>
- <p><%= f.submit "Submit" %></p>
- <% end %>
- <% form_tag posts_path, :method => :get do |f| %>
- <%= f.text_field :query %>
- <% end %>
Add Comment
Please, Sign In to add comment