| 1 |
<?php $margin = $data['field']->id == $data['languageFieldId'] ? '' : 'margin-top-2'; ?> |
| 2 |
<h2 class="cell acym__title acym__title__secondary <?php echo $margin; ?> acym__fields__edit__section__title" id="acym__fields__edit__section__title--style"> |
| 3 |
<?php echo acym_translation('ACYM_FIELD_STYLE'); ?> |
| 4 |
</h2> |
| 5 |
|
| 6 |
<label class="cell large-6 acym__fields__change" id="acym__fields__rows"><?php echo acym_translation('ACYM_ROWS'); ?> |
| 7 |
<input type="number" |
| 8 |
name="field[option][rows]" |
| 9 |
value="<?php echo empty($data['field']->option->rows) ? '' : $data['field']->option->rows; ?>"> |
| 10 |
</label> |
| 11 |
|
| 12 |
<label class="cell large-6 acym__fields__change" id="acym__fields__columns"><?php echo acym_translation('ACYM_COLUMNS'); ?> |
| 13 |
<input type="number" |
| 14 |
name="field[option][columns]" |
| 15 |
value="<?php echo empty($data['field']->option->columns) ? '' : $data['field']->option->columns; ?>"> |
| 16 |
</label> |
| 17 |
|
| 18 |
<label class="cell large-6 acym__fields__change grid-x" id="acym__fields__size"> |
| 19 |
<span class="cell"><?php echo acym_translation('ACYM_INPUT_WIDTH'); ?></span> |
| 20 |
<input type="number" |
| 21 |
name="field[option][size]" |
| 22 |
value="<?php echo empty($data['field']->option->size) ? '' : $data['field']->option->size; ?>" |
| 23 |
class="cell medium-4"> |
| 24 |
</label> |
| 25 |
|