Okay, so this is what I have (which fails miserably) in my view:
Please enter a username:
<%= form_remote_tag :html => { :update => “filter_counts”,
:url => {:action => “search_by_name”} }do -%>
“filter_counts” is a div, “search_by_name” is the action, I think the
rest makes sense.
And here is my error:
compile error
C:/scripts/Rads/app/views/dictated_exams/index.html.erb:5: syntax error,
unexpected ‘)’
:url => {:action => “search_by_name”} }do ).to_s)
^
C:/scripts/Rads/app/views/dictated_exams/index.html.erb:36: syntax
error, unexpected kENSURE, expecting ‘)’
C:/scripts/Rads/app/views/dictated_exams/index.html.erb:38: syntax
error, unexpected kEND, expecting ‘)’
Extracted source (around line #5):
2:
3: Please enter part of a name (’%’ is the wild card character):
4: <%= form_remote_tag :html => { :update => “filter_counts”,
5: :url => {:action => “search_by_name”} }do -%>
6:
%>
7:
8: <% end -%>
Help is much appreciated!