panda.tool.codegen.view.freemarker.edit-success-actions.ftl Maven / Gradle / Ivy
<#if ui.params.actions?has_content>
<#assign _uas = ui.params.actions?split(' ')/>
<#if _uas?has_content>
${s}#assign _buttons_ = [] />
<#list _uas as _ua>
<#if _ua?starts_with('*')>
<#assign _a = _ua?substring(1)/>
<#include "edit-actions-item.ftl"/>
<#elseif _ua?starts_with('-')>
<#-- skip -->
<#else>
<#assign _a = _ua/>
<#include "edit-actions-item.ftl"/>
#if>
#list>
${s}#include "/panda/mvc/view/form-buttons.ftl"/>
${s}@form_buttons buttons=_buttons_/>
#if>
#if>