Participant, Worker and Vendor now have linked bank account information contained in the demographics dropdown menu. Still need to figure out styling of demographics tab.

This commit is contained in:
Ben 2024-02-15 16:08:24 -06:00
parent 1474feef98
commit c5e83e96b0
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,13 @@
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="demographicsDropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Demographics
</button>
<div class="dropdown-menu" aria-labelledby="demographicsDropdown">
<%= link_to 'Bank Information', vendor_bank_accounts_path(@vendor), class: 'dropdown-item' %>
<!-- Add other links as needed -->
</div>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-12">

View File

@ -1,3 +1,14 @@
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="demographicsDropdown" data-bs-toggle="dropdown" aria-expanded="false">
Demographics
</button>
<ul class="dropdown-menu" aria-labelledby="demographicsDropdown">
<li><a class="dropdown-item" href="<%= worker_bank_accounts_path(@worker) %>">Bank Information</a></li>
</ul>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-12">