Kaynağa Gözat

Flip position of map and address fields

Alan Lam 4 yıl önce
ebeveyn
işleme
00e739d0b9
1 değiştirilmiş dosya ile 5 ekleme ve 4 silme
  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>