← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12934: light, minor fix for date of birth type validation

 

------------------------------------------------------------
revno: 12934
committer: Long <Long@Long-Laptop>
branch nick: dhis2
timestamp: Wed 2013-11-13 14:16:38 +0700
message:
  light, minor fix for date of birth type validation
modified:
  dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/registration/beneficiaryRegistrationForm.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/registration/beneficiaryRegistrationForm.vm'
--- dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/registration/beneficiaryRegistrationForm.vm	2013-11-09 16:08:46 +0000
+++ dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/registration/beneficiaryRegistrationForm.vm	2013-11-13 07:16:38 +0000
@@ -54,7 +54,6 @@
 		</select>
 		
 		<label>$i18n.getString( "date_of_birth" )</label>
-		
 		<select name="dobType">
 			<option value="A"
 			#if($previousValues.get("dobType") == "A")
@@ -62,19 +61,19 @@
 			#end
 			>$i18n.getString( "approximated" )</option>
 			
-			<option value="F"
+			<option value="D"
 			#if($previousValues.get("dobType") == "D")
 				selected
 			#end
 			>$i18n.getString( "declared" )</option>
 			
-			<option value="T"
+			<option value="V"
 			#if($previousValues.get("dobType") == "V")
 				selected
 			#end
 			>$i18n.getString( "verified" )</option>
 		</select>
-		<label>$i18n.getString( "date_of_birth_hint" )</label>
+		<label>$i18n.getString( "date_of_birth_hint" )</label><br/>
 		#if( $validationMap.get( "dob" ) )
            	<span style="color: #990000;"> $i18n.getString($validationMap.get( "dob" ))</span>
      	#end