From 58f1d921c1f49688b243628b458b41665a974e1f Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 5 Feb 2024 17:24:58 -0600 Subject: [PATCH] Changed Vendor Details view so everything is sized correctly. --- app/views/vendors/show.html.erb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/vendors/show.html.erb b/app/views/vendors/show.html.erb index 31930b5..dbc1473 100644 --- a/app/views/vendors/show.html.erb +++ b/app/views/vendors/show.html.erb @@ -18,7 +18,11 @@ Address - <%= [@vendor.address_line_1, @vendor.address_line_2, @vendor.city, @vendor.state, @vendor.zip].reject(&:blank?).join(', ') %> + + <%= @vendor.address_line_1 %><%= ', ' + @vendor.address_line_2 unless @vendor.address_line_2.blank? %> +
+ <%= "#{@vendor.city}, #{@vendor.state} #{@vendor.zip}" %> + Phone @@ -52,7 +56,7 @@ -
+

Linked Participants

<% if @sorted_participants.any? %>