default region
This commit is contained in:
parent
ed81ff1263
commit
7207d6ab7a
1 changed files with 2 additions and 0 deletions
|
@ -227,6 +227,8 @@ $regions = $this->getParam('regions', []);
|
|||
<option <?php echo ($region['default'] ?? false) ? 'selected' : '' ?> <?php echo ($region['disabled'] ?? false ) ? 'disabled' : '' ?> value="<?php echo $key ?>"><?php echo $region['name'] ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<?php else: ?>
|
||||
<input type="hidden" name="region" value="<?php array_key_first($regions) ?>" class="margin-bottom-xl" />
|
||||
<?php endif; ?>
|
||||
|
||||
<footer>
|
||||
|
|
Loading…
Reference in a new issue