Changed Vendor Details view so everything is sized correctly.

This commit is contained in:
Ben 2024-02-05 17:24:58 -06:00
parent 6933ca7635
commit 58f1d921c1
1 changed files with 6 additions and 2 deletions

View File

@ -18,7 +18,11 @@
</tr>
<tr>
<th>Address</th>
<td><%= [@vendor.address_line_1, @vendor.address_line_2, @vendor.city, @vendor.state, @vendor.zip].reject(&:blank?).join(', ') %></td>
<td>
<%= @vendor.address_line_1 %><%= ', ' + @vendor.address_line_2 unless @vendor.address_line_2.blank? %>
<br>
<%= "#{@vendor.city}, #{@vendor.state} #{@vendor.zip}" %>
</td>
</tr>
<tr>
<th>Phone</th>
@ -52,7 +56,7 @@
<div class="row mt-4">
<div class="container mt-5">
<div class="col-12">
<h2 class="mt-4">Linked Participants</h2>
<% if @sorted_participants.any? %>