Displaying 1 result from an estimated 1 matches for "remove_search_field".
2006 Apr 15
0
drag&drop strangeness
...receiving_element "search",
:update => "searchfields", :url => { :action => "add_search_field" } %>
<%= drop_receiving_element "trash",
:update => "searchfields", :url => { :action => "remove_search_field" } %>
</form>
</div>
and another view that is the ''ajax'' rendered view:
# search_fields.rhtml
<% session[:search_fields].each do |field, surely_empty| %>
<span id="<%= field %>"><li><label for="<%= field...