Wijzigen voor document test
Laatst gewijzigd door Jip-jan Alunkel op maart 13, 19:02
Van versie 114.36
gewijzigd door Jip-jan Alunkel
op maart 13, 16:07
op maart 13, 16:07
Opmerking bij wijziging:
Updated class property
Naar versie 114.26
gewijzigd door Jip-jan Alunkel
op maart 13, 15:34
op maart 13, 15:34
Opmerking bij wijziging:
Updated class property
Samenvatting
-
Paginaeigenschappen (1 gewijzigd, 0 toegevoegd, 0 verwijderd)
Details
- Paginaeigenschappen
-
- Inhoud
-
... ... @@ -11,7 +11,6 @@ 11 11 "label" : "Main complaint", 12 12 "aria-label" : "Enter the main complaint", 13 13 "placeholder" : "$services.localization.render('cases.wordgroup.main_complaint.placeholder')", 14 - "data-decimals": 2, 15 15 "data-pattern" : "^[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ]+[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ0-9- ]*$", 16 16 "data-error-response-type" : "use_label_definite_1", 17 17 "data-auto-first-capital" : "true", ... ... @@ -25,10 +25,6 @@ 25 25 "help-block" : 'This will be used as the title of your case. The first character must be a letter. For example:<br />- "Otitis Media in 13 year old boy" or<br />- "Cataract in 72 year old paraplegic woman"' 26 26 }) 27 27 #set($attrMap = { 28 - "id" : '', 29 - "type" : '', 30 - "required" : '', 31 - "label" : '', 32 32 "aria-label": '', 33 33 "date-min": '', 34 34 "date-max": '', ... ... @@ -37,7 +37,6 @@ 37 37 "placeholder": '', 38 38 "textarea-rows": '', 39 39 "value": '', 40 - "data-decimals": '', 41 41 "data-error-response-type": '', 42 42 "data-opener": '', 43 43 "data-pattern": '', ... ... @@ -62,20 +62,8 @@ 62 62 }) 63 63 #foreach($attr in $attrMap.keySet()) 64 64 #if($elementDataObj.containsKey("$!attr")) 65 - #if($attr == "required") 66 - #if($elementDataObj["$attr"] == "true") 67 - #set($attrMap["$!attr"] = " aria-required='true' required='required'") 68 - #else 69 - #set($attrMap["$!attr"] = " aria-required='false'") 70 - #end 71 - #elseif($attr == "data-decimals") 72 - #if($elementDataObj["$!attr"] != 0) 73 - #set($attrMap["data-decimals"] = " data-decimals='${elementDataObj[$attr]}'") 74 - #end 75 - #else 76 - #set($elemAttrVal = $elementDataObj["$attr"]) 77 - #set($attrMap["$!attr"] = "${attr}='${elemAttrVal}'") 78 - #end 59 + #set($elemAttrVal = $elementDataObj["$attr"]) 60 + #set($attrMap["$!attr"] = "$attr = '$elemAttrVal'") 79 79 $attrMap[$attr].replace("'",'"')<br /> 80 80 #end 81 81 #end