Skip to content

Commit

Permalink
Fix Erb Lint violations in Address partial
Browse files Browse the repository at this point in the history
  • Loading branch information
filippoliverani committed Jan 15, 2020
1 parent 38e53d5 commit 3b59c0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/app/views/spree/admin/shared/_address.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div data-hook="address">
<%= "#{address.name} " %><%= address.company unless address.company.blank? %><br />
<%= address.phone %><%= address.alternative_phone unless address.alternative_phone.blank? %><br />
<%= address.address1 %><br />
<% if address.address2.present? %><%= address.address2 %><br /><% end %>
<%= "#{address.city}, #{address.state_text}, #{address.zipcode}" %><br />
<%= address.name %> <%= address.company unless address.company.blank? %><br>
<%= address.phone %><%= address.alternative_phone unless address.alternative_phone.blank? %><br>
<%= address.address1 %><br>
<% if address.address2.present? %><%= address.address2 %><br><% end %>
<%= "#{address.city}, #{address.state_text}, #{address.zipcode}" %><br>
<%= address.country.name %>
</div>

0 comments on commit 3b59c0c

Please sign in to comment.