aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/stop_areas/show.html.slim
diff options
context:
space:
mode:
authorAlban Peignier2018-01-02 10:44:39 +0100
committerGitHub2018-01-02 10:44:39 +0100
commit6f95f17f3927a3ba997dfe7196dd4c2eaf9894e8 (patch)
tree3c432dfac7917039d6c013185686a30fcbf049f5 /app/views/stop_areas/show.html.slim
parent2d904d7394854ec2cdf1320c06364dbb3e1c6394 (diff)
parent2a6f499c0d47428d9bfddfc5375beb10d4385da3 (diff)
downloadchouette-core-6f95f17f3927a3ba997dfe7196dd4c2eaf9894e8.tar.bz2
Merge pull request #190 from af83/5427_stop_area_country_select
Add StopArea country select. Refs #5427
Diffstat (limited to 'app/views/stop_areas/show.html.slim')
-rw-r--r--app/views/stop_areas/show.html.slim1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/stop_areas/show.html.slim b/app/views/stop_areas/show.html.slim
index 238a45b6b..f9de34a98 100644
--- a/app/views/stop_areas/show.html.slim
+++ b/app/views/stop_areas/show.html.slim
@@ -24,6 +24,7 @@
- attributes.merge!({ "Coordonnées" => geo_data(@stop_area, @stop_area_referential),
@stop_area.human_attribute_name(:zip_code) => @stop_area.zip_code,
@stop_area.human_attribute_name(:city_name) => @stop_area.city_name,
+ @stop_area.human_attribute_name(:country_code) => @stop_area.country_code.presence || '-',
'Etat' => (@stop_area.deleted_at ? 'Supprimé' : 'Actif'),
@stop_area.human_attribute_name(:comment) => @stop_area.try(:comment),
})