Skip to content

Commit 5903c05

Browse files
authored
duplicated confirm button at top of table (#1473)
1 parent 0d0df9f commit 5903c05

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

app/assets/stylesheets/style.css.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,10 @@ div.field_with_errors {
651651
display: none;
652652
}
653653

654+
#sorted_cuds, #unsorted_cuds {
655+
margin-top: 10px;
656+
}
657+
654658
/* TABLE STYLES. Styles for the multiple tables that we have for some reason */
655659
/* Pretty Border Tables. I vote we make this the generic table style. */
656660
table.prettyBorder,

app/views/courses/upload_roster.html.erb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
</div>
1515
</div>
1616
<%= form_for :doIt, :url=>{:action=>"upload_roster",:doIt=>"true"} do |f| %>
17+
<%= f.submit "Confirm", {:class => "btn primary"} %>
18+
<br>
1719
<%= render partial: 'uploadTable', locals: {cud_view:@cuds, sort_status:"unsorted_cuds"} %>
1820
<%= render partial: 'uploadTable', locals: {cud_view:@sorted_cuds, sort_status:"sorted_cuds"} %>
19-
<br>
20-
<%= f.submit "Confirm", {:class => "btn primary"} %>
21+
<br>
22+
<%= f.submit "Confirm", {:class => "btn primary"} %>
2123
<% end %>
2224
<% else %>
2325
<p>

0 commit comments

Comments
 (0)