[% USE raw %]
[% USE Asset %]
[% USE AuthorisedValues %]
[% USE Categories %]
[% USE Koha %]
[% USE Branches %]
[% USE KohaDates %]
[% USE Math %]
[% USE AdditionalContents %]
[% PROCESS 'i18n.inc' %]
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
[% SET userupdateview = 1 %]
[% BLOCK streetnumber %]
[% UNLESS hidden.defined('streetnumber') %]
Required
[% END %]
[% END %]
[% BLOCK B_streetnumber %]
[% UNLESS hidden.defined('B_streetnumber') %]
Required
[% END %]
[% END %]
[% INCLUDE 'doc-head-open.inc' %]
[% IF op == 'edit' %]Update your personal details[% ELSE %]Register a new account[% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog
[% INCLUDE 'doc-head-close.inc' %]
[% BLOCK cssinclude %][% END %]
[% IF op == 'edit' %]
[% INCLUDE 'bodytag.inc' bodyid='opac-patron-update' %]
[% ELSE %]
[% END %]
[% INCLUDE 'masthead.inc' %]
[% WRAPPER breadcrumbs %]
[% IF op == 'edit' %]
[% WRAPPER breadcrumb_item %]
[% INCLUDE 'patron-title.inc' patron = logged_in_user %]
[% END %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
Your personal details
[% END %]
[% ELSE %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
Register a new account
[% END %]
[% END %]
[% END #/ WRAPPER breadcrumbs %]
[% INCLUDE 'navigation.inc' IsPatronPage=1 %]
Your personal details
[% IF op == 'edit' %]
[% ELSE %]
[% END %]
[% IF op == 'edit' %]
[% UNLESS OPACPatronDetails %]
To make changes to your record please contact the library.
[% END %]
[% IF nochanges %]
No changes were made.
[% END %]
[% END %]
[% IF empty_mandatory_fields %]
You have not filled out all required fields. Please fill in all missing fields and resubmit.
[% END %]
[% IF invalid_form_fields %]
The following fields contain invalid information:
[% FOREACH field IN invalid_form_fields %]
[% IF field == "email" %]