Modifiche per il documento Macros
Ultima modifica di Jip-jan Alunkel il aprile 15, 18:09
Dalla versione 2.56
modificato da Jip-jan Alunkel
il marzo 28, 16:20
il marzo 28, 16:20
Cambia il commento:
Nessun commento per questa versione
Alla versione 2.52
modificato da Jip-jan Alunkel
il marzo 28, 16:00
il marzo 28, 16:00
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,12 +1,4 @@ 1 1 {{velocity}} 2 -#macro(createFormStart $id $product) 3 -<form action="" id="${id}" method="post" class="formMaker" data-form-product="${product}" novalidate="novalidate"> 4 -#end 5 - 6 -#macro(createFormEnd) 7 -</form> 8 -#end 9 - 10 10 #macro(createFormElement $elementDataObj) 11 11 #set($elementType = $elementDataObj.type) 12 12 #set($elementTagName = '') ... ... @@ -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 25 +{{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 61 +{{/html}} 68 68 #end 69 69 70 70 #macro(createSelectElement $O_elementData $O_tagName $O_requiredAttributes)