Modifications pour le document Macros
Modifié par Jip-jan Alunkel le avril 15, 18:09
Depuis la version 2.56
modifié par Jip-jan Alunkel
sur mars 28, 16:20
sur mars 28, 16:20
Commentaire de modification :
Il n'y a aucun commentaire pour cette version
À la version 2.55
modifié par Jip-jan Alunkel
sur mars 28, 16:17
sur mars 28, 16:17
Commentaire de modification :
Il n'y a aucun commentaire pour cette version
Résumé
-
Propriétés de la Page (1 modifications, 0 ajouts, 0 suppressions)
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -1,10 +1,14 @@ 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 5 6 6 #macro(createFormEnd) 9 +{{html}} 7 7 </form> 11 +{{/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 37 +{{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 73 +{{/html}} 68 68 #end 69 69 70 70 #macro(createSelectElement $O_elementData $O_tagName $O_requiredAttributes)