All Downloads are FREE. Search and download functionalities are using the official Maven repository.

panda.tool.codegen.view.freemarker.action_add.ftl.ftl Maven / Gradle / Ivy

<#include "common.ftl"/>
<@header/>

<@sheader steps=[ ui.name ]/> <@swell/> <#include "edit-toolbar.ftl"/> ${s}#include "/action-alert.ftl"/> <#list ui.displayFieldList as f> <#if f.editTag?? && f.editTag.name?ends_with(".file")> <#assign _formenctype = "multipart/form-data" /> ${s}@p.form cssClass="p-eform" id="<#if ui.formId?has_content>${ui.formId}<#else>${action.name}" focusme="${ui.focus?c}" method="post"<#if _formenctype?has_content> enctype="${_formenctype}"<#if ui.theme?has_content> theme="${ui.theme}"> <#include "edit-insert-fields.ftl"/> ${s}#assign _buttons_ = [] /> <#if "true" == props['ui.input.confirm']!> ${s}#if a.inputConfirm> ${s}#assign _buttons_ = _buttons_ + [{ "icon": "icon-${ui.name}-confirm", "action": "~/${ui.name}${props['ui.action.seperator']!'.'}confirm", "text": "btn-${ui.name}-confirm" }]/> ${s}#else> ${s}#assign _buttons_ = _buttons_ + [{ "icon": "icon-${ui.name}-execute", "action": "~/${ui.name}${props['ui.action.seperator']!'.'}execute", "text": "btn-${ui.name}-execute" }]/> <#if "true" == props['ui.input.confirm']!> ${s}/#if> <#if "true" == props['ui.input.reset']!> ${s}#assign _buttons_ = _buttons_ + [{ "type": "reset", "icon": "icon-reset", "text": "btn-reset" }]/> <#include "edit-actions.ftl"/> ${s}/@p.form> <#include "edit-script.ftl"/> <@safeinc step=""/>
<@footer/>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy