Skip to content

Duplicated confirm button at top roster upload confirmation screen #1473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 1, 2022
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