Displaying 1 result from an estimated 1 matches for "tags_path".
2007 Apr 04
2
Simple RJS Calls Not Working
.../h2>
<% unless @recipe.tags.empty? %>
<table>
<tbody id="tags">
<%= render :partial=>''tags/tag'', :collection=>@recipe.tags %>
</tbody>
</table>
<% end %>
<% form_remote_tag :url=>tags_path(@recipe) do%>
<label>Name</label> <%= text_field_with_auto_complete :tag, :name %>
<%= submit_tag "Add Tag" %>
<% end %>
Which has a pretty simple create method that renders the RJS as follows:
format.js {
render :update do |page|...