diff options
| author | Alban Peignier | 2017-12-28 15:10:14 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2017-12-28 15:10:14 +0100 | 
| commit | 31965824161284176fee1fddfce7e2fe3894ad7e (patch) | |
| tree | d983dd83dab7db470e9325e12a106144b11eff99 | |
| parent | 81d44acf0ea19349b36699b6cded54a42a7c39d7 (diff) | |
| download | chouette-core-31965824161284176fee1fddfce7e2fe3894ad7e.tar.bz2 | |
Display parent in stop_areas#show. Refs #5313
| -rw-r--r-- | app/views/stop_areas/show.html.slim | 1 | 
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 0c23710b6..238a45b6b 100644 --- a/app/views/stop_areas/show.html.slim +++ b/app/views/stop_areas/show.html.slim @@ -16,6 +16,7 @@      .row        .col-lg-6.col-md-6.col-sm-12.col-xs-12          - attributes = { t('id_reflex') => @stop_area.get_objectid.short_id, +            @stop_area.human_attribute_name(:parent) => @stop_area.parent ? link_to(@stop_area.parent.name, stop_area_referential_stop_area_path(@stop_area_referential, @stop_area.parent)) : "-",              @stop_area.human_attribute_name(:stop_area_type) => Chouette::AreaType.find(@stop_area.area_type).try(:label),              @stop_area.human_attribute_name(:registration_number) => @stop_area.registration_number,              } | 
