From c5390eb00ac030651c7cd2bc55589708a6fd650c Mon Sep 17 00:00:00 2001 From: rulingcom Date: Thu, 3 Jul 2025 18:26:56 +0800 Subject: [PATCH] small fix --- app/views/admin/property_hires/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/property_hires/_form.html.erb b/app/views/admin/property_hires/_form.html.erb index 9cda2f5..bff2863 100644 --- a/app/views/admin/property_hires/_form.html.erb +++ b/app/views/admin/property_hires/_form.html.erb @@ -120,7 +120,7 @@ <% elsif @property.property_location.nil? %> <%= f.select :property_location, @locations, {:selected => "other_location"} %> <% else %> - <%= f.select :property_location, @locations %> + <%= f.select :property_location, @locations, {:selected => @property.property_location.id.to_s} %> <% end %>