aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorZakaria BOUZIANE2014-07-28 08:53:14 +0200
committerZakaria BOUZIANE2014-07-28 08:53:14 +0200
commit711131fca3dadf9989debd5d5dce2f28d549786c (patch)
treea031fb303bc1412dfb9bf97146cad0b6ce861c35 /app
parent260bf9f8662ac97ab5879d3a2f3e9a1c45e07045 (diff)
downloadchouette-core-711131fca3dadf9989debd5d5dce2f28d549786c.tar.bz2
Resizing Nominatim Button / Textarea
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/main/stop_areas.css.scss12
-rw-r--r--app/views/stop_areas/_form.html.erb8
2 files changed, 14 insertions, 6 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 %>