From 8ca6a3feee28f3e04cd043a015cf6f30057cf2ac Mon Sep 17 00:00:00 2001 From: Luc Donnet Date: Wed, 6 Aug 2014 16:53:13 +0200 Subject: Fix use of adresses in new and edit form for stop_areas --- app/assets/stylesheets/main/stop_areas.css.scss | 24 +++++++++---------- app/views/stop_areas/_form.html.erb | 31 +++++++++++-------------- 2 files changed, 24 insertions(+), 31 deletions(-) diff --git a/app/assets/stylesheets/main/stop_areas.css.scss b/app/assets/stylesheets/main/stop_areas.css.scss index 28a7a9c3c..74f8e0277 100644 --- a/app/assets/stylesheets/main/stop_areas.css.scss +++ b/app/assets/stylesheets/main/stop_areas.css.scss @@ -4,6 +4,7 @@ #workspace.stop_areas.index { + #country_codes { display: none; } .stop_area { @@ -22,27 +23,24 @@ } } -#workspace.stop_areas.edit { +#workspace.stop_areas.edit, #workspace.stop_areas.new { legend { padding-bottom: 20px; } + #prefetch { + padding: 10px 10px 30px 10px; + + label{ + font-size: 18px; + margin-right: 20px; + } + } + #map{ float:none; width: 100%; } } -#workspace.stop_areas.new { - legend { padding-bottom: 20px; } - #prefetch { - padding: 10px 10px 30px 10px; - - label{ - font-size: 18px; - margin-right: 20px; - } - } -} - #workspace.stop_areas.show { .geo_data { diff --git a/app/views/stop_areas/_form.html.erb b/app/views/stop_areas/_form.html.erb index 1282606f5..eefae9c16 100644 --- a/app/views/stop_areas/_form.html.erb +++ b/app/views/stop_areas/_form.html.erb @@ -60,8 +60,6 @@