[% 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 %]
{{idl_fields.[% cls %].[% field %].label}}
[% IF field == 'barcode' %]
[% l('Replace Barcode') %]
[% l('See All') %]
[% ELSIF field == 'password' %]
[% l('Generate Password') %]
[% ELSE %]
[% set_str = "org_settings['ui.patron.edit." _
cls _ "." _ field _ ".example']"; %]
[% l('Example: [_1]', "{{" _ set_str _ "}}") %]
[% IF field.match('phone') %]
[% l('Example: [_1]',
"{{org_settings['ui.patron.edit.phone.example']}}") %]
[% END %]
[% END %]
[% END %]
[% formfield('ac', 'barcode', 'card') %]
[% formfield('au', 'usrname') %]
[% formfield('au', 'passwd') %]
[% formfield('au', 'prefix') %]
[% formfield('au', 'first_given_name') %]
[% formfield('au', 'second_given_name') %]
[% formfield('au', 'family_name') %]
[% formfield('au', 'suffix') %]
[% formfield('au', 'alias') %]
[% formfield('au', 'juvenile', '', 'checkbox') %]
{{idl_fields.au.ident_type.label}}
[% formfield('au', 'ident_value') %]
[% formfield('au', 'ident_value2') %]
[% formfield('au', 'email', '', 'email') %]
[% formfield('au', 'day_phone') %]
[% formfield('au', 'evening_phone') %]
[% formfield('au', 'other_phone') %]
{{idl_fields.au.home_ou.label}}
{{idl_fields.au.profile.label}}
{{idl_fields.au.net_access_level.label}}
[% formfield('au', 'active', '', 'checkbox') %]
[% formfield('au', 'barred', '', 'checkbox') %]
[% formfield('au', 'master_account', '', 'checkbox') %]
[% formfield('au', 'claims_returned_count', '', 'number') %]
[% formfield('au', 'claims_never_checked_out_count', '', 'number') %]
[% formfield('au', 'alert_message') %]
{{user_setting_types['opac.default_pickup_location'].label()}}
{{user_setting_types['circ.holds_behind_desk'].label()}}
[% l('Default SMS Carrier') %]
[% formfield('aua', 'address_type', 'mailing_address') %]
[% formfield('aua', 'post_code', 'mailing_address') %]
[% formfield('aua', 'street1', 'mailing_address') %]
[% formfield('aua', 'street2', 'mailing_address') %]
[% formfield('aua', 'city', 'mailing_address') %]
[% formfield('aua', 'county', 'mailing_address') %]
[% formfield('aua', 'state', 'mailing_address') %]
[% formfield('aua', 'country', 'mailing_address') %]
[% formfield('aua', 'valid', 'mailing_address', 'checkbox') %]
[% formfield('aua', 'within_city_limits', 'mailing_address', 'checkbox') %]
[% l('New Address') %]
[% l('Statistical Categories') %]