I am trying to upgrade to Hobo 1.3.pre29
This used to work:
<def tag="simplesearch">
<% form_remote_tag(:update => "search_results", :url => { :action
=> :search,
:controller => "vehicle_types" } ) do -%>
Search:
<%= text_field_tag :query %>
<submit label="Find" />
<% end -%>
<%= set_form_focus %>
</def>
When I try this in pre29 the form is not shown:
<% form_tag('vehicle_types/search', :method => :get, :remote =>
true ) do %>
Search:
<%= text_field_tag :query %>
<%= submit_tag "Find", :name => nil %>
<% end %>
If I change to <%= form_tag ....
...
I get the error:
app/views/front/index.dryml:18: syntax error, unexpected tRPAREN
; output_buffer.concat(( form_tag('vehicle_types/search', :method
=> :get, :remote => true ) do ).to_s); safe_concat %(
Please, help me out.
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.