[% USE KohaDates %] [% IF enrollments %]

Clubs currently enrolled in

[% FOREACH e IN enrollments %] [% END %]
Clubs
Name Description Date enrolled  
[% e.club.name | html %] [% e.club.description | html %] [% e.date_enrolled | $KohaDates %] [% IF e.club.club_template.is_enrollable_from_opac %] [% ELSE %] Contact your library to be disenrolled from this club. [% END %]
[% END %] [% IF clubs %]

Clubs you can enroll in

[% FOREACH c IN clubs %] [% END %]
Name Description  
[% c.name | html %] [% c.description | html %] [% IF !c.club_template.is_email_required || ( c.club_template.is_email_required && borrower.first_valid_email_address ) %] [% ELSE %] You must have an email address to enroll [% END %]
[% END %]