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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-1 / +8 lines)
Lines 1131-1137 Link Here
1131
                        <label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label>
1131
                        <label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label>
1132
                    [% END %]
1132
                    [% END %]
1133
                        [% IF ( patron_attribute.use_dropdown ) %]
1133
                        [% IF ( patron_attribute.use_dropdown ) %]
1134
                            [% IF patron_attribute.mandatory %]
1135
                            <select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required">
1136
                            [% ELSE %]
1134
                            <select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">
1137
                            <select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">
1138
                            [% END %]
1135
                                <option value=""></option>
1139
                                <option value=""></option>
1136
                                [% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %]
1140
                                [% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %]
1137
                                    [% IF auth_val_loo.authorised_value == patron_attribute.value %]
1141
                                    [% IF auth_val_loo.authorised_value == patron_attribute.value %]
Lines 1146-1152 Link Here
1146
                                [% END %]
1150
                                [% END %]
1147
                            </select>
1151
                            </select>
1148
                        [% ELSE %]
1152
                        [% ELSE %]
1153
                            [% IF patron_attribute.mandatory %]
1154
                            <textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required">[% patron_attribute.value | html %]</textarea>
1155
                            [% ELSE %]
1149
                            <textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea>
1156
                            <textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea>
1157
                            [% END %]
1150
                        [% END %]
1158
                        [% END %]
1151
                        <input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" />
1159
                        <input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" />
1152
                        <a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a>
1160
                        <a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a>
1153
- 

Return to bug 22844