Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/assets/stylesheets/style.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,10 @@ div.field_with_errors {
display: none;
}

#sorted_cuds, #unsorted_cuds {
margin-top: 10px;
}

/* TABLE STYLES. Styles for the multiple tables that we have for some reason */
/* Pretty Border Tables. I vote we make this the generic table style. */
table.prettyBorder,
Expand Down
6 changes: 4 additions & 2 deletions app/views/courses/upload_roster.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@
</div>
</div>
<%= form_for :doIt, :url=>{:action=>"upload_roster",:doIt=>"true"} do |f| %>
<%= f.submit "Confirm", {:class => "btn primary"} %>
<br>
<%= render partial: 'uploadTable', locals: {cud_view:@cuds, sort_status:"unsorted_cuds"} %>
<%= render partial: 'uploadTable', locals: {cud_view:@sorted_cuds, sort_status:"sorted_cuds"} %>
<br>
<%= f.submit "Confirm", {:class => "btn primary"} %>
<br>
<%= f.submit "Confirm", {:class => "btn primary"} %>
<% end %>
<% else %>
<p>
Expand Down