| 1 |
<?php |
| 2 |
defined('ABSPATH') || die('Restricted Access'); |
| 3 |
?> |
| 4 |
<div id="acym__scenario__edit"> |
| 5 |
<form id="acym_form" action="<?php echo esc_url(acym_completeLink(acym_getVar('cmd', 'ctrl'))); ?>" method="post" name="acyForm" data-abide novalidate> |
| 6 |
<div class="acym__content" id="acym__scenario__edit__container" data-acym-step-ids="<?php echo esc_attr(json_encode($data['allScenarioStepIds'])); ?>"> |
| 7 |
<?php |
| 8 |
include acym_getView('scenarios', 'scenario_top_actions'); |
| 9 |
include acym_getView('scenarios', 'edit_scenario_flow'); |
| 10 |
?> |
| 11 |
<div class="cell grid-x"> |
| 12 |
<div class="auto cell"></div> |
| 13 |
<div class="cell shrink grid-x"> |
| 14 |
<button type="button" |
| 15 |
class="margin-right-1 shrink button button-secondary acy_button_submit" |
| 16 |
data-task="saveExit" |
| 17 |
data-before-action="scenario" |
| 18 |
> |
| 19 |
<?php echo esc_html(acym_translation('ACYM_SAVE_EXIT')); ?> |
| 20 |
</button> |
| 21 |
<button |
| 22 |
type="button" |
| 23 |
class="shrink button acy_button_submit" data-task="save" |
| 24 |
data-before-action="scenario" |
| 25 |
> |
| 26 |
<?php echo esc_html(acym_translation('ACYM_SAVE_CONTINUE')); ?> |
| 27 |
</button> |
| 28 |
</div> |
| 29 |
</div> |
| 30 |
</div> |
| 31 |
<input type="hidden" name="scenarioId" value="<?php echo empty($data['scenario']->id) ? '' : esc_attr($data['scenario']->id); ?>"> |
| 32 |
<?php acym_formOptions(); ?> |
| 33 |
</form> |
| 34 |
</div> |
| 35 |
|