Displaying 1 result from an estimated 1 matches for "m000462".
Did you mean:
1000462
2006 Mar 28
1
Passing the input name to "text_field_with_auto_complete"
I have a view with two auto complete input boxes. How do I give the
input a name like I can for "text_input" helper?
I''ve looked at the docs
(http://api.rubyonrails.com/classes/ActionView/Helpers/JavaScriptMacrosHelper.html#M000462)
but cant make sense of it...
<p><label for="search_start_station">From</label><br/>
<%= text_field_with_auto_complete :station, :name %></p>
<p><label for="search_end_station">To</label><br/>...