I need to pass a value for the form with a link_to to the 'new' page in rails.
'New' page form radio buttons code:
= f.collection_radio_buttons :model, books.all, :id, :model, :prompt => true, label: "Book"
So it will look like list of 5 radio buttons.
And i need pass a value to this radio buttons with:
= link_to "New", path_to_new_page
is it possible with rails only without javascript?