Changes for page Macros

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

From version 2.56
edited by Jip-jan Alunkel
on March 28, 16:20
Change comment: There is no comment for this version
To version 2.54
edited by Jip-jan Alunkel
on March 28, 16:10
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,10 +1,13 @@
1 1  {{velocity}}
2 2  #macro(createFormStart $id $product)
3 +{{html}}
3 3  <form action="" id="${id}" method="post" class="formMaker" data-form-product="${product}" novalidate="novalidate">
5 +{{/html}}
4 4  #end
5 -
6 6  #macro(createFormEnd)
8 +{{html}}
7 7  </form>
10 +{{/html}}
8 8  #end
9 9  
10 10  #macro(createFormElement $elementDataObj)
... ... @@ -30,6 +30,7 @@
30 30   #else
31 31   #set($hint = "This type of element does not exist, read the manual for more information about element types.")
32 32   #end
36 +{{html}}
33 33   #if($elementTagName == "select" || $elementTagName == "input" || $elementTagName == "textarea")
34 34   <p${requiredCSSClass}>
35 35   <label for="${elementDataObj.id}_${elementTagName}">
... ... @@ -65,6 +65,7 @@
65 65   #if($hint != "")
66 66   <p class="box errormessage">${hint}</p>
67 67   #end
72 +{{/html}}
68 68  #end
69 69  
70 70  #macro(createSelectElement $O_elementData $O_tagName $O_requiredAttributes)