diff options
| -rw-r--r-- | app/assets/stylesheets/main/stop_areas.css.scss | 12 | ||||
| -rw-r--r-- | app/views/stop_areas/_form.html.erb | 8 | ||||
| -rw-r--r-- | config/locales/stop_areas.yml | 10 |
3 files changed, 20 insertions, 10 deletions
diff --git a/app/assets/stylesheets/main/stop_areas.css.scss b/app/assets/stylesheets/main/stop_areas.css.scss index 384b412a7..28a7a9c3c 100644 --- a/app/assets/stylesheets/main/stop_areas.css.scss +++ b/app/assets/stylesheets/main/stop_areas.css.scss @@ -31,6 +31,18 @@ } } +#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 dad1996e2..1282606f5 100644 --- a/app/views/stop_areas/_form.html.erb +++ b/app/views/stop_areas/_form.html.erb @@ -1,14 +1,10 @@ <div class="container-fluid"> <div class="col-md-7"> - <form name="changer"> - <label class=" label" for="stop_area_address"> - <%= t(".address") %> - </label> <div id="prefetch"> - <input class="typeahead" maxlength="255" name="stop_area[address]" type="text"/> + <label><%= t('.geolocalize') %></label> + <input class="typeahead form-control input-lg" maxlength="255" name="stop_area[address]" type="text" placeholder="<%= t('.address') %>" /> </div> - </form> <%= semantic_form_for [@referential, @stop_area] do |form| %> <%= form.inputs do %> diff --git a/config/locales/stop_areas.yml b/config/locales/stop_areas.yml index df307f08f..1ebb7e8ae 100644 --- a/config/locales/stop_areas.yml +++ b/config/locales/stop_areas.yml @@ -24,10 +24,11 @@ en: export_hub_physical: "Export HUB physical" new: title: "Add a new stop" + form: + address: "15 rue du Louvre, Paris" + geolocalize: "Pinpoint : " edit: title: "Update stop %{stop_area}" - form: - address: "Address" show: title: "Stop %{stop_area}" geographic_data: "Geographic data" @@ -125,10 +126,11 @@ fr: export_hub_physical: "Export HUB des arrêts physiques" new: title: "Ajouter un arrêt" + form: + address: "15 rue du Louvre, Paris" + geolocalize: "Géolocalisez : " edit: title: "Modifier l'arrêt %{stop_area}" - form: - address: "Adresse" show: title: "Arrêt %{stop_area}" geographic_data: "Données géographiques" |
