瀏覽代碼

Flip position of map and address fields

Alan Lam 4 年之前
父節點
當前提交
00e739d0b9
共有 1 個文件被更改,包括 5 次插入 和 4 次删除
  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="latitude" value="<?=htmlspecialchars($latitude)?>" />
 <input type="hidden" name="longitude" value="<?=htmlspecialchars($longitude)?>" />
 <input type="hidden" name="longitude" value="<?=htmlspecialchars($longitude)?>" />
@@ -49,7 +46,7 @@ else {
 		</div>
 		</div>
 	</div>
 	</div>
 </div>
 </div>
-<div class="row">
+<div class="row mb-3">
 	<div class="col-6">
 	<div class="col-6">
 		<div class="mb-3">
 		<div class="mb-3">
 			<label for="country"><?=htmlspecialchars(__("Country"))?></label>
 			<label for="country"><?=htmlspecialchars(__("Country"))?></label>
@@ -76,3 +73,7 @@ else {
 		</div>
 		</div>
 	</div>
 	</div>
 </div>
 </div>
+
+<div class="mb-3" id="address-map" style="height: 320px; background: #eee;" data-latitude="<?=htmlspecialchars($latitude)?>" data-longitude="<?=htmlspecialchars($longitude)?>">
+
+</div>