Skip to content

Commit

Permalink
Changed table markup to be more pleasing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Hurt committed May 26, 2009
1 parent 0a821db commit bfefa38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/assignments/_assignment_list.erb
Expand Up @@ -12,7 +12,7 @@
<tr><td colspan='0'><%= link_to 'Add Assignment', new_assignment_path( :course_id => @course.id ), :class => 'btn positive' %></td></tr>

<% if @assignments.blank? %>
<tr><td colspan='0'>No Assignments Found</td></tr>
<tr><td colspan='10'>No Assignments Found</td></tr>
<% else %>
<% for assignment in @assignments %>
<tr class="<%= cycle('odd', 'even') %>" onclick="location.href='<%= url_for( :action => :edit, :id => assignment.id ) %>'"/>
Expand Down

0 comments on commit bfefa38

Please sign in to comment.