| 1 |
<?php |
| 2 |
$beforeSave = ''; |
| 3 |
if (!empty($data['translation_languages'])) { |
| 4 |
$beforeSave = 'acym-data-before="acym_helperSelectionMultilingual.changeLanguage_field(acym_helperSelectionMultilingual.mainLanguage)"'; |
| 5 |
} |
| 6 |
?> |
| 7 |
<form id="acym_form" action="<?php echo acym_completeLink(acym_getVar('cmd', 'ctrl')); ?>" method="post" name="acyForm" data-abide novalidate> |
| 8 |
<input type="hidden" name="fieldId" value="<?php echo empty($data['field']->id) ? '' : intval($data['field']->id); ?>"> |
| 9 |
<input type="hidden" name="field[namekey]" value="<?php echo empty($data['field']->namekey) ? '' : acym_escape($data['field']->namekey); ?>"> |
| 10 |
<div id="acym__fields__edit" class="acym__content grid-x cell"> |
| 11 |
<?php include acym_getView('fields', 'edit_actions'); ?> |
| 12 |
|
| 13 |
<div class="cell grid-x grid-margin-x"> |
| 14 |
<div class="xlarge-4 cell grid-x acym__fields__edit__field__general acym__content grid-margin-x margin-bottom-1 acym_center_baseline"> |
| 15 |
<?php include acym_getView('fields', 'edit_information'); ?> |
| 16 |
<?php include acym_getView('fields', 'edit_display'); ?> |
| 17 |
</div> |
| 18 |
|
| 19 |
<?php |
| 20 |
$classes = 'cell xlarge-8 grid-x grid-margin-x margin-y margin-bottom-1'; |
| 21 |
$classes .= ' acym__content acym__fields__edit__properties acym_center_baseline'; |
| 22 |
?> |
| 23 |
<div class="<?php echo $classes; ?>"> |
| 24 |
<?php include acym_getView('fields', 'edit_content'); ?> |
| 25 |
<?php include acym_getView('fields', 'edit_style'); ?> |
| 26 |
<?php include acym_getView('fields', 'edit_values'); ?> |
| 27 |
</div> |
| 28 |
</div> |
| 29 |
<?php acym_formOptions(); ?> |
| 30 |
</div> |
| 31 |
</form> |
| 32 |
|