expertiza/expertiza

View on GitHub
app/views/assignments/place_assignment_in_course.html.erb

Summary

Maintainability
Test Coverage
<h1>Courses available for <%= @assignment.name %></h1>

Select a course to which the assignment will belong:
<BR/><BR/>
<%= form_for @assignment do |f| %>
  <% @courses.each do |course| %>
    <%= radio_button_tag :course_id, course.id %><%= course.name %><br/>
  <% end %>

  <BR/>
  <%= f.submit "Save" %>
<% end %>

<BR/>
<%= render :partial => '/shared_scripts/back'%>