# acymailing/trunk/back/Views/Fields/tmpl/edit_style.php

AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress, version trunk. 28 lines.

- Page: https://pluginprobe.com/plugins/acymailing/trunk/code/back/Views/Fields/tmpl/edit_style.php
- Raw: https://pluginprobe.com/plugins/acymailing/trunk/raw/back/Views/Fields/tmpl/edit_style.php
- Modified: 2026-08-03T10:18:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/acymailing/trunk/code/back/Views/Fields/tmpl/edit_style.php#L10-L20`.

```php
<?php
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- View file, its variables are local to the include scope, not true globals.
defined('ABSPATH') || die('Restricted Access');
$margin = $data['field']->id == $data['languageFieldId'] ? '' : 'margin-top-2'; ?>
<h2 class="cell acym__title acym__title__secondary <?php echo esc_attr($margin); ?> acym__fields__edit__section__title" id="acym__fields__edit__section__title--style">
    <?php echo esc_html(acym_translation('ACYM_FIELD_STYLE')); ?>
</h2>

<label class="cell large-6 acym__fields__change" id="acym__fields__rows"><?php echo esc_html(acym_translation('ACYM_ROWS')); ?>
	<input type="number"
	       name="field[option][rows]"
	       value="<?php echo empty($data['field']->option->rows) ? '' : esc_attr($data['field']->option->rows); ?>">
</label>

<label class="cell large-6 acym__fields__change" id="acym__fields__columns"><?php echo esc_html(acym_translation('ACYM_COLUMNS')); ?>
	<input type="number"
	       name="field[option][columns]"
	       value="<?php echo empty($data['field']->option->columns) ? '' : esc_attr($data['field']->option->columns); ?>">
</label>

<label class="cell large-6 acym__fields__change grid-x" id="acym__fields__size">
	<span class="cell"><?php echo esc_html(acym_translation('ACYM_INPUT_WIDTH')); ?></span>
	<input type="number"
	       name="field[option][size]"
	       value="<?php echo empty($data['field']->option->size) ? '' : esc_attr($data['field']->option->size); ?>"
	       class="cell medium-4">
</label>

```
