From 0ffe39729f01cd35dc463e1672c79a431a64adfd Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Sun, 28 Feb 2016 18:16:18 -0500 Subject: [PATCH] Patron reg field validation (WIP) Signed-off-by: Bill Erickson --- .../src/templates/staff/circ/patron/t_edit.tt2 | 795 ++++++++++++++++----- Open-ILS/src/templates/staff/css/circ.css.tt2 | 5 + .../web/js/ui/default/staff/circ/patron/regctl.js | 15 + 3 files changed, 617 insertions(+), 198 deletions(-) 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 eb5975590c..be71f4397f 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 @@ -19,7 +19,6 @@
[% l('Patron Edit') %]
-
- -[% MACRO formfield(cls, field, path, input_type) BLOCK; - - # input field generator for common text/number/checkbox fields - - IF NOT input_type; input_type = 'text'; END %] - -
- +[% MACRO draw_field_label (cls, field) BLOCK %]
- -
+[% END %] -
+ +
+
+
+
+ [% l('Loading...') %] +
+
+
+
- [% model = path ? 'patron.' _ path _ '.' _ field : 'patron.' _ field %] + +
- [% IF input_type == 'checkbox' %] + -
- -
- - [% ELSE %] - - - [% IF field == 'alert_message' %] -