Skip to content

Commit

Permalink
Merge pull request #8497 from drummer83/drummer83-localize_button
Browse files Browse the repository at this point in the history
Place the localize button above the map/below the address
  • Loading branch information
jibees authored Nov 25, 2021
2 parents 74b87ad + 87b3b6f commit 439f4ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/registration/steps/_location_map.html.haml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
%div
.center
%input.button.primary{ type: "button", value: "{{'registration.steps.details.locate_address' | t}}", ng: { click: "locateAddress()" } }
.center{ ng: {if: "latLong"}}
%strong {{'registration.steps.details.drag_pin' | t}}

.small-12.medium-9.large-12.columns.end
.map-container--registration{id: "registration-map", ng: {if: "!!map"}}
%ui-gmap-google-map{ center: "map.center", zoom: "map.zoom"}
%ui-gmap-marker{idKey: 1, coords: "latLong", options: '{ draggable: true}'}
.center
%input.button.primary{ type: "button", value: "{{'registration.steps.details.locate_address' | t}}", ng: { click: "locateAddress()" } }
.center{ ng: {if: "latLong"}}
.field
%input{ type: 'checkbox', id: 'confirm_address', name: 'confirm_address', ng: { click: 'toggleAddressConfirmed()' } }
Expand Down

0 comments on commit 439f4ad

Please sign in to comment.