View | Details | Raw Unified | Return to bug 22844
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-1 / +6 lines)
Lines 1050-1056 Link Here
1050
            [% END %]
1050
            [% END %]
1051
            [% FOREACH patron_attribute IN pa_loo.items %]
1051
            [% FOREACH patron_attribute IN pa_loo.items %]
1052
                <li data-category_code="[% patron_attribute.category_code | html %]">
1052
                <li data-category_code="[% patron_attribute.category_code | html %]">
1053
                    <label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label>
1053
                    [% IF patron_attribute.mandatory %]
1054
                        <label for="[% patron_attribute.form_id | html %]" class="required" required="required">[% patron_attribute.description | html %]: </label>
1055
                    [% ELSE %]
1056
                        <label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label>
1057
                    [% END %]
1054
                        [% IF ( patron_attribute.use_dropdown ) %]
1058
                        [% IF ( patron_attribute.use_dropdown ) %]
1055
                            <select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">
1059
                            <select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">
1056
                                <option value=""></option>
1060
                                <option value=""></option>
Lines 1074-1079 Link Here
1074
                        [% IF ( patron_attribute.repeatable ) %]
1078
                        [% IF ( patron_attribute.repeatable ) %]
1075
                        <a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a>
1079
                        <a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a>
1076
                        [% END %]
1080
                        [% END %]
1081
                    [% IF patron_attribute.mandatory %]<span class="required">Required</span>[% END %]
1077
                </li>
1082
                </li>
1078
            [% END %]
1083
            [% END %]
1079
            [% IF pa_loo.class %]</fieldset>[% END %]
1084
            [% IF pa_loo.class %]</fieldset>[% END %]
(-)a/members/memberentry.pl (-1 / +1 lines)
Lines 874-879 sub patron_attributes_form { Link Here
874
            repeatable        => $attr_type->repeatable(),
874
            repeatable        => $attr_type->repeatable(),
875
            category          => $attr_type->authorised_value_category(),
875
            category          => $attr_type->authorised_value_category(),
876
            category_code     => $attr_type->category_code(),
876
            category_code     => $attr_type->category_code(),
877
            mandatory         => $attr_type->mandatory(),
877
        };
878
        };
878
        if (exists $attr_hash{$attr_type->code()}) {
879
        if (exists $attr_hash{$attr_type->code()}) {
879
            foreach my $attr (@{ $attr_hash{$attr_type->code()} }) {
880
            foreach my $attr (@{ $attr_hash{$attr_type->code()} }) {
880
- 

Return to bug 22844