Changes for page Macros

Last modified by Jip-jan Alunkel on April 15, 18:09

From version 2.52
edited by Jip-jan Alunkel
on March 28, 16:00
Change comment: There is no comment for this version
To version 2.55
edited by Jip-jan Alunkel
on March 28, 16:17
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,16 @@
1 1  {{velocity}}
2 +#macro(createFormStart $id $product)
3 +{{html}}
4 +<form action="" id="${id}" method="post" class="formMaker" data-form-product="${product}" novalidate="novalidate">
5 +{{/html}}
6 +#end
7 +
8 +#macro(createFormEnd)
9 +{{html}}
10 +</form>
11 +{{/html}}
12 +#end
13 +
2 2  #macro(createFormElement $elementDataObj)
3 3   #set($elementType = $elementDataObj.type)
4 4   #set($elementTagName = '')