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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt (-7 / +6 lines)
Lines 89-95 Link Here
89
                          <div class="blocks">
89
                          <div class="blocks">
90
                              <select name="agefield_[% id | html %]">
90
                              <select name="agefield_[% id | html %]">
91
                                  <option value="">Choose an age field</option>
91
                                  <option value="">Choose an age field</option>
92
                                  [% FOR field IN agefields %]
92
                                  [% FOR field IN agefields.sort %]
93
                                    [% IF rule.agefield == field %]
93
                                    [% IF rule.agefield == field %]
94
                                     <option value="[% field | html %]" selected="selected">[% field | html %]</option>
94
                                     <option value="[% field | html %]" selected="selected">[% field | html %]</option>
95
                                    [% ELSE %]
95
                                    [% ELSE %]
Lines 106-112 Link Here
106
                        <div class="block">
106
                        <div class="block">
107
                          <select name="condition_field_[% id | html %]">
107
                          <select name="condition_field_[% id | html %]">
108
                            <option value="">Choose a field name</option>
108
                            <option value="">Choose a field name</option>
109
                            [% FOR field IN condition_fields %]
109
                            [% FOR field IN condition_fields.sort %]
110
                              [% IF condition.field == field %]
110
                              [% IF condition.field == field %]
111
                                <option value="[% field | html %]" selected="selected">[% field | html %]</option>
111
                                <option value="[% field | html %]" selected="selected">[% field | html %]</option>
112
                              [% ELSE %]
112
                              [% ELSE %]
Lines 127-133 Link Here
127
                        <div class="block">
127
                        <div class="block">
128
                          <select class="required" required="required" name="substitution_field_[% id | html %]">
128
                          <select class="required" required="required" name="substitution_field_[% id | html %]">
129
                            <option value="">Choose a field name</option>
129
                            <option value="">Choose a field name</option>
130
                            [% FOR field IN substitution_fields %]
130
                            [% FOR field IN substitution_fields.sort %]
131
                              [% IF substitution.field == field %]
131
                              [% IF substitution.field == field %]
132
                                <option value="[% field | html %]" selected="selected">[% field | html %]</option>
132
                                <option value="[% field | html %]" selected="selected">[% field | html %]</option>
133
                              [% ELSE %]
133
                              [% ELSE %]
Lines 164-170 Link Here
164
              <div class="block">
164
              <div class="block">
165
                  <select name="agefield">
165
                  <select name="agefield">
166
                      <option value="">Choose an age field</option>
166
                      <option value="">Choose an age field</option>
167
                      [% FOR field IN agefields %]
167
                      [% FOR field IN agefields.sort %]
168
                           <option value="[% field | html %]">[% field | html %]</option>
168
                           <option value="[% field | html %]">[% field | html %]</option>
169
                      [% END %]
169
                      [% END %]
170
                  </select>
170
                  </select>
Lines 176-182 Link Here
176
              <div class="block">
176
              <div class="block">
177
                <select name="condition_field">
177
                <select name="condition_field">
178
                  <option value="">Choose a field name</option>
178
                  <option value="">Choose a field name</option>
179
                  [% FOR field IN condition_fields %]
179
                  [% FOR field IN condition_fields.sort %]
180
                    <option value="[% field | html %]">[% field | html %]</option>
180
                    <option value="[% field | html %]">[% field | html %]</option>
181
                  [% END %]
181
                  [% END %]
182
                </select>
182
                </select>
Lines 191-197 Link Here
191
              <div class="block">
191
              <div class="block">
192
                <select required="required" class="required" name="substitution_field">
192
                <select required="required" class="required" name="substitution_field">
193
                  <option value="">Choose a field name</option>
193
                  <option value="">Choose a field name</option>
194
                  [% FOR field IN substitution_fields %]
194
                  [% FOR field IN substitution_fields.sort %]
195
                    <option value="[% field | html %]">[% field | html %]</option>
195
                    <option value="[% field | html %]">[% field | html %]</option>
196
                  [% END %]
196
                  [% END %]
197
                </select>
197
                </select>
198
- 

Return to bug 35198