| 1 |
<div class="cell grid-x grid-margin-x margin-y"> |
| 2 |
<div class="cell large-6"> |
| 3 |
<label> |
| 4 |
<?php echo acym_translation('ACYM_CAMPAIGN_NAME'); ?> |
| 5 |
<input name="mail[name]" type="text" value="<?php echo acym_escape($data['mailInformation']->name); ?>"> |
| 6 |
</label> |
| 7 |
</div> |
| 8 |
<div class="cell large-6"> |
| 9 |
<label> |
| 10 |
<?php |
| 11 |
echo acym_translation('ACYM_TAGS'); |
| 12 |
echo acym_selectMultiple( |
| 13 |
$data['allTags'], |
| 14 |
'template_tags', |
| 15 |
empty($data['mailInformation']->tags) ? [] : $data['mailInformation']->tags, |
| 16 |
[ |
| 17 |
'id' => 'acym__tags__field', |
| 18 |
'placeholder' => acym_translation('ACYM_ADD_TAGS'), |
| 19 |
], |
| 20 |
'name', |
| 21 |
'name' |
| 22 |
); |
| 23 |
?> |
| 24 |
</label> |
| 25 |
</div> |
| 26 |
|
| 27 |
<?php |
| 28 |
if (empty($data['multilingual']) && empty($data['abtest'])) { |
| 29 |
$preheaderSize = 'large-6'; |
| 30 |
include acym_getView('campaigns', 'edit_email_info_content'); |
| 31 |
} ?> |
| 32 |
|
| 33 |
<div class="cell grid-x"> |
| 34 |
<?php |
| 35 |
echo acym_switch( |
| 36 |
'visible', |
| 37 |
$data['mailInformation']->visible, |
| 38 |
acym_translation('ACYM_VISIBLE').acym_info(['textShownInTooltip' => 'ACYM_VISIBLE_CAMPAIGN_DESC']), |
| 39 |
[], |
| 40 |
'shrink' |
| 41 |
) |
| 42 |
?> |
| 43 |
</div> |
| 44 |
</div> |
| 45 |
|