Topic: Taking information from a form and putting into a restful post
I need to have a form on the view so that the user can input which username he wants to post the facebook message to.
Right now in the post action I just have username=name. But the name variable has to be taken from the form.
How do I do that?
It's probably very easy just new to rails
<td><%= link_to 'Post', "/facebook/fbpostsetup/?id="+add.id.to_s+"&username=name" , class: "btn btn-small btn-primary" %></td>
Thanks for your help