Parcourir la source

Flip position of map and address fields

Alan Lam il y a 4 ans
Parent
commit
00e739d0b9
1 fichiers modifiés avec 5 ajouts et 4 suppressions
  1. 5 4
      views/components/address_fields.php

+ 5 - 4
views/components/address_fields.php

@@ -16,9 +16,6 @@ else {
 }
 
 ?>
-<div class="mb-3" id="address-map" style="height: 320px; background: #eee;" data-latitude="<?=htmlspecialchars($latitude)?>" data-longitude="<?=htmlspecialchars($longitude)?>">
-
-</div>
 
 <input type="hidden" name="latitude" value="<?=htmlspecialchars($latitude)?>" />
 <input type="hidden" name="longitude" value="<?=htmlspecialchars($longitude)?>" />
@@ -49,7 +46,7 @@ else {
 		</div>
 	</div>
 </div>
-<div class="row">
+<div class="row mb-3">
 	<div class="col-6">
 		<div class="mb-3">
 			<label for="country"><?=htmlspecialchars(__("Country"))?></label>
@@ -76,3 +73,7 @@ else {
 		</div>
 	</div>
 </div>
+
+<div class="mb-3" id="address-map" style="height: 320px; background: #eee;" data-latitude="<?=htmlspecialchars($latitude)?>" data-longitude="<?=htmlspecialchars($longitude)?>">
+
+</div>