Modifications pour le document Macros

Modifié par Jip-jan Alunkel le avril 15, 18:09

Depuis la version 2.55
modifié par Jip-jan Alunkel
sur mars 28, 16:17
Commentaire de modification : Il n'y a aucun commentaire pour cette version
À la version 2.56
modifié par Jip-jan Alunkel
sur mars 28, 16:20
Commentaire de modification : Il n'y a aucun commentaire pour cette version

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -1,14 +1,10 @@
1 1  {{velocity}}
2 2  #macro(createFormStart $id $product)
3 -{{html}}
4 4  <form action="" id="${id}" method="post" class="formMaker" data-form-product="${product}" novalidate="novalidate">
5 -{{/html}}
6 6  #end
7 7  
8 8  #macro(createFormEnd)
9 -{{html}}
10 10  </form>
11 -{{/html}}
12 12  #end
13 13  
14 14  #macro(createFormElement $elementDataObj)
... ... @@ -34,7 +34,6 @@
34 34   #else
35 35   #set($hint = "This type of element does not exist, read the manual for more information about element types.")
36 36   #end
37 -{{html}}
38 38   #if($elementTagName == "select" || $elementTagName == "input" || $elementTagName == "textarea")
39 39   <p${requiredCSSClass}>
40 40   <label for="${elementDataObj.id}_${elementTagName}">
... ... @@ -70,7 +70,6 @@
70 70   #if($hint != "")
71 71   <p class="box errormessage">${hint}</p>
72 72   #end
73 -{{/html}}
74 74  #end
75 75  
76 76  #macro(createSelectElement $O_elementData $O_tagName $O_requiredAttributes)