From: Bill Erickson Date: Thu, 3 Mar 2016 03:12:49 +0000 (-0500) Subject: Patron reg field validation (WIP) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4edd6e01a62b81a932fd47d148493387e1917952;p=working%2FEvergreen.git Patron reg field validation (WIP) Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2 b/Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2 index a533ba87f8..3640961bee 100644 --- a/Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2 @@ -24,10 +24,12 @@
diff --git a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 index 84e3ab5fca..76a24b1ccb 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 @@ -101,7 +101,6 @@ MACRO draw_form_input(cls, field, path, type, required) BLOCK; ng-required="field_required('[% cls %]', '[% field %]')" ng-blur="handle_field_changed([% base_obj %], '[% field %]')" ng-pattern="field_pattern('[% cls %]', '[% field %]')" - ng-class="{'patron-reg-invalid-field' : field_is_invalid('[% model %]')}" ng-model="[% model %]"/> [% END %] @@ -132,7 +131,8 @@ This div wraps the entire form so we can hide it until all needed data has been loaded. Setting ng-form and a name lets us refer to fields within the "form" by name for validation. --> -
+
@@ -142,13 +142,11 @@ within the "form" by name for validation.
@@ -167,7 +165,6 @@ within the "form" by name for validation.
@@ -275,7 +271,7 @@ within the "form" by name for validation.
[% draw_field_label('au', 'juvenile') %] - [% draw_form_input('au', 'alias', '', 'checkbox'); %] + [% draw_form_input('au', 'juvenile', '', 'checkbox'); %]
@@ -283,21 +279,13 @@ within the "form" by name for validation.
[% draw_field_label('au', 'ident_type') %]
-
- - -
+
@@ -406,14 +394,16 @@ within the "form" by name for validation. [% draw_field_label('au', 'profile') %]
-