Re: [Rails] Click in a radiobutton, enable button on solicit.html.erb and save on db

2016-05-12 Thread Colin Law
On 12 May 2016 at 19:38, Elton Santos wrote: > I really dont know how begin, I have a form in my view (solicit.html.erb) > where do iterate in each elements, each element have a radio button, input > field and a button for create. When click on button, generate a new > portability with date save t

[Rails] Click in a radiobutton, enable button on solicit.html.erb and save on db

2016-05-12 Thread Elton Santos
I really dont know how begin, I have a form in my view (solicit.html.erb) where do iterate in each elements, each element have a radio button, input field and a button for create. When click on button, generate a new portability with date save this. this is my code <% if params[:search_func_reg