Changes for page Macros

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

From version 2.42
edited by Jip-jan Alunkel
on March 28, 15:23
Change comment: There is no comment for this version
To version 2.33
edited by Jip-jan Alunkel
on March 28, 15:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -78,8 +78,6 @@
78 78  #end
79 79  #macro(createTextElement $O_elementData $O_tagName $O_requiredAttributes)
80 80  #set($dataAttributes = '')
81 -#set($dataAttributes = $O_elementData.data-query-type)
82 -$dataAttributes
83 83  #if($O_elementData.data-query-type) #set($dataAttributes = ' data-query-type="${O_elementData.data-query-type}"')#end
84 84  #if($O_elementData.data-query-list-type) #set($dataAttributes = '${dataAttributes} data-query-list-type="${O_elementData.data-query-list-type}"')#end
85 85  #if($O_elementData.data-query-list-contents) #set($dataAttributes = '${dataAttributes} data-query-list-contents="${O_elementData.data-query-list-contents}"')#end
... ... @@ -92,5 +92,8 @@
92 92   <input type="text" class="form-control full" name="${O_elementData.id}_${O_tagName}" id="${O_elementData.id}_${O_tagName}" autocomplete="off" placeholder="$services.localization.render(${O_elementData.placeholder})" aria-describedby="${O_elementData.id}_helpBlock"${O_requiredAttributes} aria-label="${O_elementData.aria-label}"${dataAttributes}>
93 93  #end
94 94  
93 +id
94 +
95 +
95 95  {{/velocity}}
96 96