search for: post_courses

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

2006 Apr 25
0
Need help making code more rails like!
...ks in advance for any assistance! The following code is contained within a partial (excuse the formatting mess): <% for course in @courses -%> <%= course.name %>: <% if course.id.to_s == session[:current_course].to_s -%> <%= check_box_tag ''post_courses[]'', course.id, true, {:disabled => ''disabled''} %><br /> <% else -%> <%= check_box_tag ''post_courses[]'', course.id %><br /> <% end -%> <% end -%> -- Ryan Prins rprins@gmail.com ht...