search for: save_r

Displaying 1 result from an estimated 1 matches for "save_r".

Did you mean: saver
2006 Jul 26
0
radio_button groups
For my first rails app, I''m building a web page that will list some restaurants and then have the user rate them from from 1 to 5 using 5 radio buttons. The view code looks like: <h3>Ratings:</h3> <form action="save_ratings" method="post"> <table> <tr> <th>Restaurant</th> <% for rating_option in [1,2,3,4,5] -%> <th><%=h rating_option.to_s -%></th> <% end -%> </tr> <% for user_rating in @rating...