Participant model color scheme updated and so far complete
This commit is contained in:
parent
2830ace0d9
commit
2c7c20ef33
|
@ -20,7 +20,7 @@
|
|||
}
|
||||
|
||||
.pagination .page-item.active .page-link {
|
||||
border-color: var(--bs-warning);
|
||||
border-color: var(--bs-dark);
|
||||
}
|
||||
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
<div class="mb-3">
|
||||
<%= form.label :phone, class: 'form-label' %>
|
||||
<%= form.telephone_field :phone, id: 'phone-field', class: 'form-control', placeholder: '(XXX)-XX-XXXX' %>
|
||||
<%= form.telephone_field :phone, id: 'phone-field', class: 'form-control', placeholder: '(XXX)XXX-XXXX' %>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
|
@ -74,7 +74,7 @@
|
|||
</div>
|
||||
|
||||
<div class="actions">
|
||||
<%= form.submit class: 'btn btn-primary' %>
|
||||
<%= form.submit class: 'btn btn-dark' %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<%= render 'form', participant: @participant %>
|
||||
|
||||
<div class="mt-3 d-flex justify-content-between">
|
||||
<%= link_to 'Show', @participant, class: "btn btn-info" %>
|
||||
<%= link_to 'Back to List', participants_path, class: "btn btn-secondary" %>
|
||||
<%= link_to 'Delete', @participant, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
|
||||
</div>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<h1 class="mb-4 text-center">Participants</h1>
|
||||
|
||||
<div class="text-center mt-3">
|
||||
<%= link_to 'New Participant', new_participant_path, class: 'btn btn-secondary mb-3' %>
|
||||
<%= link_to 'New Participant', new_participant_path, class: 'btn btn-dark mb-3' %>
|
||||
</div>
|
||||
|
||||
<%= paginate @participants %>
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
</div>
|
||||
|
||||
<div class="mt-3 d-flex justify-content-between">
|
||||
<%= link_to 'Edit', edit_participant_path(@participant), class: "btn btn-primary" %>
|
||||
<%= link_to 'Edit', edit_participant_path(@participant), class: "btn btn-dark" %>
|
||||
<%= link_to 'Back to List', participants_path, class: "btn btn-secondary" %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue