[% DOC_IMG = '/images/question-mark.png' %]
[% l('Register Patron') %]
[% INCLUDE 'staff/circ/patron/reg_actions.tt2' %]
[% l('Patron Edit') %]
{{idl_fields[selected_field_doc.fm_class()][selected_field_doc.field()].label}}
{{selected_field_doc.string()}}
[% 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 %]
[% model = path ? 'patron.' _ path _ '.' _ field : 'patron.' _ field %] [% IF input_type == 'checkbox' %]
[% ELSE %] [% IF field == 'alert_message' %]