Centered all index pages table headers and add new buttons
This commit is contained in:
parent
335b37f4e2
commit
f0cf2b0c24
|
@ -52,8 +52,10 @@
|
|||
</div>
|
||||
|
||||
<div class="actions text-center">
|
||||
<%= form.submit class: 'btn btn-primary' %>
|
||||
<%= form.submit class: 'btn btn-success' %>
|
||||
</div>
|
||||
|
||||
|
||||
<% end %>
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
<div class="container mt-5">
|
||||
<h1 class="mb-4">Employers</h1>
|
||||
<h1 class="mb-4 text-center">Employers</h1>
|
||||
|
||||
<div class="text-center mt-3">
|
||||
<%= link_to 'New Employer', new_employer_path, class: 'btn btn-primary mb-3' %>
|
||||
</div>
|
||||
|
||||
<table class="table table-striped table-hover">
|
||||
<thead class="table-dark">
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<div class="container mt-5">
|
||||
<h1 class="mb-4 text-center">Participants</h1>
|
||||
|
||||
<div class="text-center mt-3">
|
||||
<%= link_to 'New Participant', new_participant_path, class: 'btn btn-primary mb-3' %>
|
||||
</div>
|
||||
|
||||
<table class="table table-striped table-hover">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
|
@ -42,7 +46,4 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="text-center mt-3">
|
||||
<%= link_to 'New Participant', new_participant_path, class: 'btn btn-success' %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<div class="container mt-5">
|
||||
<h1 class="mb-4 text-center">Vendors</h1>
|
||||
|
||||
<div class="text-center mt-3">
|
||||
<%= link_to 'New Vendor', new_vendor_path, class: 'btn btn-success mb-3' %>
|
||||
</div>
|
||||
|
||||
<table class="table table-striped table-hover">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
|
@ -33,7 +37,4 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="text-center mt-3">
|
||||
<%= link_to 'New Vendor', new_vendor_path, class: 'btn btn-success' %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<div class="container mt-5">
|
||||
<h1 class="mb-4 text-center">Workers</h1>
|
||||
|
||||
<div class="text-center mt-3">
|
||||
<%= link_to 'New Worker', new_worker_path, class: 'btn btn-success mb-3' %>
|
||||
</div>
|
||||
|
||||
<table class="table table-striped table-hover">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
|
@ -29,7 +33,4 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="text-center mt-3">
|
||||
<%= link_to 'New Worker', new_worker_path, class: 'btn btn-success' %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue