From 2cbdf0e7c061c90f870b82a2092ab032f9fc73b9 Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Wed, 16 Nov 2022 13:53:46 +0000 Subject: [PATCH] feat: update wording and ordering for 'view location details' page --- app/helpers/locations_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/locations_helper.rb b/app/helpers/locations_helper.rb index 8d56226a9..be5d3d4c0 100644 --- a/app/helpers/locations_helper.rb +++ b/app/helpers/locations_helper.rb @@ -26,12 +26,12 @@ module LocationsHelper def display_location_attributes(location) base_attributes = [ { name: "Postcode", value: location.postcode }, - { name: "Local authority", value: location.location_admin_district }, { name: "Location name", value: location.name, edit: true }, + { name: "Local authority", value: location.location_admin_district }, { name: "Total number of units at this location", value: location.units }, { name: "Common type of unit", value: location.type_of_unit }, { name: "Mobility type", value: location.mobility_type }, - { name: "Code", value: location.location_code }, + { name: "Location code", value: location.location_code }, { name: "Availability", value: location_availability(location) }, ]