From 3b59c0c80ec51ac06a4e4e769fd2ccb359781f0a Mon Sep 17 00:00:00 2001 From: Filippo Liverani <1382917+filippoliverani@users.noreply.github.com> Date: Thu, 9 Jan 2020 16:36:58 +0100 Subject: [PATCH] Fix Erb Lint violations in Address partial --- backend/app/views/spree/admin/shared/_address.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/app/views/spree/admin/shared/_address.html.erb b/backend/app/views/spree/admin/shared/_address.html.erb index 645d0f6dc96..d803a9d61d0 100644 --- a/backend/app/views/spree/admin/shared/_address.html.erb +++ b/backend/app/views/spree/admin/shared/_address.html.erb @@ -1,8 +1,8 @@
- <%= "#{address.name} " %><%= address.company unless address.company.blank? %>
- <%= address.phone %><%= address.alternative_phone unless address.alternative_phone.blank? %>
- <%= address.address1 %>
- <% if address.address2.present? %><%= address.address2 %>
<% end %> - <%= "#{address.city}, #{address.state_text}, #{address.zipcode}" %>
+ <%= address.name %> <%= address.company unless address.company.blank? %>
+ <%= address.phone %><%= address.alternative_phone unless address.alternative_phone.blank? %>
+ <%= address.address1 %>
+ <% if address.address2.present? %><%= address.address2 %>
<% end %> + <%= "#{address.city}, #{address.state_text}, #{address.zipcode}" %>
<%= address.country.name %>