Skip to content
Permalink
Browse files

代码生成模板修改

  • Loading branch information...
sanluan committed Oct 21, 2019
1 parent d74d3e8 commit b53bb242cbcf68d0056baba5e2af49a4469ffdfe
Showing with 1 addition and 1 deletion.
  1. +1 −1 publiccms-parent/publiccms/src/test/resources/generator/html/add.ftl
@@ -1,7 +1,7 @@
${"<@_"+entityName?replace('Cms','')?uncap_first+" id=id><#assign a=object/></@_"+entityName?replace('Cms','')?uncap_first+">"}
<form method="post" action="${entityName?uncap_first}/save.do?callbackType=closeCurrent&navTabId=${entityName?uncap_first}/list" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
<input name="id" type="hidden" value="<#noparse>${id!}</#noparse>" />
<input type="hidden" name="csrfToken" value="<#noparse><@_csrfToken admin=true/></#noparse>"/>
<input type="hidden" name="_csrf" value="<#noparse><@_csrfToken admin=true/></#noparse>"/>
<div class="formBar">
<ul>
<li><button type="submit" class="buttonActive"><#noparse><@t.page 'button.save'/></#noparse></button></li>

0 comments on commit b53bb24

Please sign in to comment.
You can’t perform that action at this time.