| 1 |
<?php |
| 2 |
$widthUnit = 'px'; |
| 3 |
$heightUnit = 'px'; |
| 4 |
|
| 5 |
if (!empty($option['units'][$form->type])) { |
| 6 |
$widthUnit = $option['units'][$form->type]['width']; |
| 7 |
$heightUnit = $option['units'][$form->type]['height']; |
| 8 |
} |
| 9 |
?> |
| 10 |
|
| 11 |
<div class="cell grid-x acym_vcenter"> |
| 12 |
<input type="number" class="cell medium-3" v-model="<?php echo acym_escape($vModel); ?>.width"> |
| 13 |
<span class="cell shrink acym__forms__menu__options__style__size__default"><?php echo acym_escape($widthUnit); ?></span> |
| 14 |
<span class="cell shrink margin-1">x</span> |
| 15 |
<input type="number" class="cell medium-3" v-model="<?php echo acym_escape($vModel); ?>.height"> |
| 16 |
<span class="cell shrink acym__forms__menu__options__style__size__default"><?php echo acym_escape($heightUnit); ?></span> |
| 17 |
</div> |
| 18 |
|