Modifications pour le document Macros

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

Depuis la version 2.274
modifié par Jip-jan Alunkel
sur juillet 30, 13:27
Commentaire de modification : Update document after refactoring.
À la version 2.277
modifié par Jip-jan Alunkel
sur juillet 30, 14:42
Commentaire de modification : Update document after refactoring.

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -1,6 +1,16 @@
1 1  {{velocity}}
2 2  #macro(createFormStart $elementDataObj)
3 3   #if($elementDataObj.use_captcha == "true")
4 +<script>
5 + const formAttributeValues = {
6 + "id": "${elementDataObj.id}",
7 + "action": "${elementDataObj.url}",
8 + "method": "${elementDataObj.method}",
9 + "data-form-product": "${elementDataObj.product}",
10 + "class": "pagemaker",
11 + "novalidate": "novalidate"
12 + }
13 +</script>
4 4  <div class="pagemaker">
5 5   #else
6 6  <form action="${elementDataObj.url}" id="${elementDataObj.id}" method="${elementDataObj.method}" class="pagemaker" data-form-product="${elementDataObj.product}" novalidate="novalidate">