Working on custom forms in freemarker.
This commit is contained in:
parent
aba71e6913
commit
0b2dc61fbe
8 changed files with 398 additions and 47 deletions
|
@ -0,0 +1,17 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- SelecListWidget -->
|
||||
|
||||
<#macro assets>
|
||||
<#--
|
||||
${stylesheets.add("/css/something.css")}
|
||||
${scripts.add("/js/somejavascript.js")}
|
||||
-->
|
||||
</#macro>
|
||||
|
||||
<#macro markup>
|
||||
<#assign keys = selectList?keys>
|
||||
<#list keys as key>
|
||||
<option value="${key}" >${selectList[key]}</option>
|
||||
</#list>
|
||||
</#macro>
|
Loading…
Add table
Add a link
Reference in a new issue