=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentForm.vm' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentForm.vm 2012-10-07 05:32:03 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentForm.vm 2012-10-09 04:15:10 +0000 @@ -41,53 +41,51 @@
- #if( ( $!noIden && $!noIden > 0) || ( $!noOtherGroup && $!noOtherGroup > 0) || ( $!noGroup && $!noGroup > 0 ) ) - - - #set( $mark = false ) - #foreach ($identifierType in $identifierTypes) - #set( $identifier = '') - #set( $identifier = $identiferMap.get( $identifierType.id ) ) - - - - - #set( $mark = !$mark ) - #end - - - #foreach($attribute in $patientAttributes ) - #set( $attributeValue = $!patientAttributeValueMap.get( $attribute.id ) ) + +
- -
+ #set( $mark = false ) + #foreach ($identifierType in $identifierTypes) + #set( $identifier = '') + #set( $identifier = $identiferMap.get( $identifierType.id ) ) - - + + #set( $mark = !$mark ) #end + + + #foreach($attribute in $patientAttributes ) + #set( $attributeValue = $!patientAttributeValueMap.get( $attribute.id ) ) + + + + + #set( $mark = !$mark ) @@ -114,7 +112,6 @@ #end
- #if( $attribute.valueType == "YES/NO" ) - - #elseif( $attribute.valueType == "DATE" ) - - - #elseif( $attribute.valueType == "COMBO" ) - - #else - - #end - + +
+ #if( $attribute.valueType == "YES/NO" ) + + #elseif( $attribute.valueType == "DATE" ) + + + #elseif( $attribute.valueType == "COMBO" ) + + #else + + #end +