right i understand colin what you mean, but u must have mis understood
My question is after the user hits submit, how can i transfer the
content for the fields in the form that he just filled out- into the
Do you understand?
<% form_for @course do |f| %>
<%= f.error_messages %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :subtitle %>
<%= f.text_field :subtitle %>
<%= f.label :body %>
<%= f.text_area :body %>
<%= f.submit "Submit" %>
<% end %>
Now, for example i wrote the words “foo” for all of them.
In my Courses Controller, is there a way to pass the values of the
form fields into the controller?