mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2024-11-22 16:02:36 +00:00
21 lines
945 B
Smarty
Executable File
21 lines
945 B
Smarty
Executable File
<div class="buttons">
|
|
{{if !empty($form) && !empty($form.buttons)}}
|
|
{{foreach from=$form.buttons key=val item=button}}
|
|
{{sugar_button module="$module" id=$button form_id="$form_id" view="$view"}}
|
|
{{/foreach}}
|
|
{{else}}
|
|
{{sugar_button module="$module" id="SAVE" view="$view" form_id="$form_id"}}
|
|
{{sugar_button module="$module" id="CANCEL" view="$view" form_id="$form_id" }}
|
|
{{/if}}
|
|
{if $showVCRControl}
|
|
<button type="button" id="save_and_continue" class="button saveAndContinue" title="{$app_strings.LBL_SAVE_AND_CONTINUE}" onClick="SUGAR.saveAndContinue(this);">
|
|
{$APP.LBL_SAVE_AND_CONTINUE}
|
|
</button>
|
|
{/if}
|
|
{{if empty($form.hideAudit) || !$form.hideAudit}}
|
|
{{sugar_button module="$module" id="Audit" view="$view" form_id="$form_id"}}
|
|
{{/if}}
|
|
{{sugar_action_menu buttons=$footer_buttons class="fancymenu" flat=true}}
|
|
|
|
</div>
|