Updated all address fields on their respective show pages to be the proper formatting.
This commit is contained in:
parent
58f1d921c1
commit
ea9d032ad4
|
@ -22,5 +22,3 @@
|
|||
.pagination .page-item.active .page-link {
|
||||
border-color: var(--bs-dark);
|
||||
}
|
||||
|
||||
|
|
@ -14,7 +14,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th>Address</th>
|
||||
<td><%= [@employer.address_line_1, @employer.address_line_2, @employer.city, @employer.state, @employer.zip].reject(&:blank?).join(', ') %></td>
|
||||
<td>
|
||||
<%= @employer.address_line_1 %><%= ', ' + @employer.address_line_2 unless @employer.address_line_2.blank? %>
|
||||
<br>
|
||||
<%= "#{@employer.city}, #{@employer.state} #{@employer.zip}" %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Phone</th>
|
||||
|
|
|
@ -14,7 +14,10 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th>Address</th>
|
||||
<td><%= [@participant.address_line_1, @participant.address_line_2, @participant.city, @participant.state, @participant.zip].reject(&:blank?).join(', ') %></td>
|
||||
<td><%= @participant.address_line_1 %><%= ', ' + @participant.address_line_2 unless @participant.address_line_2.blank? %>
|
||||
<br>
|
||||
<%= "#{@participant.city}, #{@participant.state} #{@participant.zip}" %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Phone</th>
|
||||
|
|
|
@ -14,7 +14,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th>Address</th>
|
||||
<td><%= [@worker.address_line_1, @worker.address_line_2, @worker.city, @worker.state, @worker.zip].reject(&:blank?).join(', ') %></td>
|
||||
<td>
|
||||
<%= @worker.address_line_1 %><%= ', ' + @worker.address_line_2 unless @worker.address_line_2.blank? %>
|
||||
<br>
|
||||
<%= "#{@worker.city}, #{@worker.state} #{@worker.zip}" %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Phone</th>
|
||||
|
|
Loading…
Reference in New Issue