LP#1554714 Patron reg DoB via datepicker
authorBill Erickson <berickxx@gmail.com>
Wed, 9 Mar 2016 19:00:27 +0000 (14:00 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 22 Apr 2016 13:53:00 +0000 (09:53 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2

index a98d7fe..77e5c7f 100644 (file)
@@ -260,11 +260,14 @@ within the "form" by name for validation.
 <div class="row reg-field-row" ng-show="show_field('au.dob')">
   [% draw_field_label('au', 'dob') %]
   <div class="col-md-3 reg-field-input">
-    <input eg-date-input 
+    <input
       name="dob"
+      uib-datepicker-popup="shortDate" 
       ng-change="field_modified()" 
       ng-required="field_required('au', 'dob')"
       ng-blur="handle_field_changed(patron, 'dob')"
+      is-open="dob_is_open" 
+      close-text="[% l('Close') %]"/>
       class="form-control" ng-model="patron.dob"/>
   </div>
   <div class="col-md-6 patron-reg-example">