From c7debd27d2430cf1cb0cac85ab9e8337e7ee8630 Mon Sep 17 00:00:00 2001 From: qinmingyuan Date: Fri, 15 Dec 2023 20:49:59 +0800 Subject: [PATCH] address --- .../profiled/my/addresses/_index/_address.html+phone.erb | 2 +- app/views/profiled/my/addresses/index.html+phone.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/profiled/my/addresses/_index/_address.html+phone.erb b/app/views/profiled/my/addresses/_index/_address.html+phone.erb index c2e30d3..93c2ebd 100644 --- a/app/views/profiled/my/addresses/_index/_address.html+phone.erb +++ b/app/views/profiled/my/addresses/_index/_address.html+phone.erb @@ -1,7 +1,7 @@
- <%= model.contact %> + <%= model.contact_person %> <%= model.tel %>
diff --git a/app/views/profiled/my/addresses/index.html+phone.erb b/app/views/profiled/my/addresses/index.html+phone.erb index 71814bb..d155de8 100644 --- a/app/views/profiled/my/addresses/index.html+phone.erb +++ b/app/views/profiled/my/addresses/index.html+phone.erb @@ -1,10 +1,10 @@ <%= render 'top_bar' %> -
+
<%= render partial: 'address', collection: @addresses, as: :model %>
-
+
<%= render 'button' %>