Displaying 1 result from an estimated 1 matches for "campuses_path".
2013 Dec 10
2
form_tag + fields_for Rails 4
Hi There,
I''m trying to user fields_for inside a form_tag, but i can''t catch it
on my controller.
I just take some html code off to makes it easy to read
my view...
i''m using campuses_path(current_church, @campus) instead form_for
@campus, because my route is like
resources :campuses, :path => ":church/campuses"
<%= form_tag campuses_path(current_church, @campus), :class =>
> ''form-horizontal'', :method => :post do %>
> &l...