Bug 30733: Simplify translatable strings
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / marc_subfields_structure.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% SET footerjs = 1 %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>
6     [%- IF ( add_form ) -%]
7         [%- IF ( use_heading_flags_p ) -%]
8             [%- IF ( heading_edit_subfields_p ) -%]
9                 Edit MARC subfields constraints &rsaquo; MARC subfield structure
10             [%- END -%]
11
12         [%- ELSE -%]
13             [%- action | html -%] &rsaquo; MARC subfield structure
14         [%- END -%]
15
16     [%- END -%]
17
18     [%- IF ( delete_confirm ) -%]
19
20         MARC subfield structure &rsaquo; Confirm deletion of subfield [%- mss.tagsubfield | html -%]
21
22         Confirm deletion of subfield [%- tagsubfield | html -%] &rsaquo; MARC subfield structure
23     [%- END -%]
24
25     [%- IF ( delete_confirmed ) -%]
26         Subfield deleted &rsaquo; MARC subfield structure
27
28     [%- END -%]
29
30     [%- IF ( else ) -%]
31         MARC subfield structure
32     [%- END -%] &rsaquo; Administration &rsaquo; Koha
33 </title>
34 [% INCLUDE 'doc-head-close.inc' %]
35 <style>.constraints::after { content:  " "; clear: both; display:block; }</style>
36 </head>
37
38 <body id="admin_marc_subfields_structure" class="admin">
39     [% INCLUDE 'header.inc' %]
40     [% INCLUDE 'prefs-admin-search.inc' %]
41
42     <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
43         <ol>
44             <li>
45                 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
46             </li>
47             <li>
48                 <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
49             </li>
50             <li>
51                 <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a>
52             </li>
53             <li>
54                 <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode | uri %]&amp;searchfield=[% tagfield | uri %]">
55                     [% IF ( frameworkcode ) %]
56                         [% frameworkcode | html %]
57                     [% ELSE %]
58                         <span>Default</span>
59                     [% END %] <span>framework structure</span>
60                 </a>
61             </li>
62
63             [% IF ( add_form ) %]
64                 [% IF ( use_heading_flags_p ) %]
65                     [% IF ( heading_edit_subfields_p ) %]
66                         <li>
67                             <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]">Tag [% tagfield | html %] subfield structure</a>
68                         </li>
69                         <li>
70                             <a href="#" aria-current="page">
71                                 Edit subfields constraints
72                             </a>
73                         </li>
74                     [% END %]
75                 [% ELSE %]
76                     <li>
77                         <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]">Tag [% tagfield | html %] Subfield structure</a>
78                     </li>
79                     <li>
80                         <a href="#" aria-current="page">
81                             [% action | html %]
82                         </a>
83                     </li>
84                 [% END %]
85             [% END %]
86
87             [% IF ( delete_confirm ) %]
88                 <li>
89                     <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% mss.tagfield | uri %]&amp;frameworkcode=[% mss.frameworkcode | uri %]">Tag [% mss.tagfield | html %] Subfield structure</a>
90                 </li>
91                 <li>
92                     <a href="#" aria-current="page">
93                         Confirm deletion of subfield [% mss.tagsubfield | html %]i
94                     </a>
95                 </li>
96             [% END %]
97
98             [% IF ( else ) %]
99                 <li>
100                     <a href="#" aria-current="page">
101                         Tag [% tagfield | html %] Subfield structure
102                     </a>
103                 </li>
104             [% END %]
105         </ol>
106     </nav> <!-- /#breadcrumbs -->
107
108     <div class="main container-fluid">
109         <div class="row">
110             <div class="col-sm-10 col-sm-push-2">
111                 <main>
112
113                     [% IF ( add_form ) %]
114                         <h1>
115                             [% IF ( use_heading_flags_p ) %]
116                                 [% IF ( heading_edit_subfields_p ) %]<span>Tag</span> [% tagfield | html %] <span>Subfield constraints</span>[% END %]
117                             [% ELSE %]
118                                 [% action | html %]
119                             [% END %]
120                         </h1>
121
122                         <form action="[% script_name | html %]" name="Aform" method="post">
123                             <input type="hidden" name="op" value="add_validate" />
124                             <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
125                             <input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" />
126
127                             [% BLOCK outputsubfield %][% FILTER collapse %]
128                                 [% SWITCH ( subfieldanchor ) %]
129                                     [%   CASE "@" %]
130                                     AT
131                                     [%   CASE "%" %]
132                                     %
133                                     [%   CASE  %]
134                                     [% subfieldanchor | html %]
135                                 [% END %]
136                             [% END %][% END %]
137
138                             <div id="subfieldtabs" class="toptabs numbered">
139                                  <ul class="nav nav-tabs" role="tablist">
140                                     [% FOREACH loo IN loop %]
141                                         <li id="tab_subfield_[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="tab-item" role="presentation">
142                                             [% IF ( loo.new_subfield ) %]
143                                                 <a href="#sub[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]field" aria-controls="sub[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]field" role="tab" data-toggle="tab" title="[% loo.liblibrarian | html_entity %]">New</a>
144                                             [% ELSE %]
145                                                 <a href="#sub[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]field" aria-controls="sub[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]field" role="tab" data-toggle="tab" title="[% loo.liblibrarian | html_entity %]">
146                                                     [% loo.subfieldcode | html %]
147                                                 </a>
148                                             [% END %]
149                                         </li>
150                                     [% END %]
151                                 </ul>
152
153                                 <div class="tab-content">
154
155                                     [% FOREACH loo IN loop %]
156                                         <div class="constraints tab-pane" role="tabpanel" id="sub[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]field">
157                                             <div id="basic[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="contraints">
158                                                 <fieldset class="rows">
159                                                     <legend>Basic constraints</legend>
160                                                     <ol>
161                                                         [% IF ( subfieldcode == 0 || subfieldcode ) %]
162                                                             <li>
163                                                                 <span class="label">Subfield code:</span>
164                                                                 [% loo.subfieldcode | html %] <input type="hidden" name="tagsubfield" value="[% loo.subfieldcode | html %]" />
165                                                             </li>
166                                                         [% ELSE %]
167                                                             <li>
168                                                                 <label for="tagsubfield[% loo.row | html %]">Subfield code:</label>
169                                                                     <input type="text" id="tagsubfield[% loo.row | html %]" name="tagsubfield" value="[% loo.subfieldcode | html %]" />
170                                                                 </li>
171                                                         [% END %]
172                                                         <li>
173                                                             <label for="liblibrarian[% loo.row | html %]">Text for librarian: </label>
174                                                             <input id="liblibrarian[% loo.row | html %]" type="text" name="liblibrarian" value="[% loo.liblibrarian | html_entity %]" size="40" maxlength="80" />
175                                                         </li>
176                                                         <li>
177                                                             <label for="libopac[% loo.row | html %]">Text for OPAC: </label>
178                                                             <input type="text" id="libopac[% loo.row | html %]" name="libopac" value="[% loo.libopac | html_entity %]" size="40" maxlength="80" />
179                                                         </li>
180                                                         <li>
181                                                             <label for="repeatable[% loo.row | html %]">Repeatable: </label>
182                                                             [% IF loo.repeatable %]
183                                                                 <input type="checkbox" id="repeatable[% loo.row | html %]" name="repeatable[% loo.row | html %]" checked="checked" value="1" />
184                                                             [% ELSE %]
185                                                                 <input type="checkbox" id="repeatable[% loo.row | html %]" name="repeatable[% loo.row | html %]" value="1" />
186                                                             [% END %]
187                                                         </li>
188                                                         <li>
189                                                             <label for="mandatory[% loo.row | html %]">Mandatory: </label>
190                                                             [% IF loo.mandatory %]
191                                                                 <input type="checkbox" id="mandatory[% loo.row | html %]" name="mandatory[% loo.row | html %]" checked="checked" value="1" />
192                                                             [% ELSE %]
193                                                                 <input type="checkbox" id="mandatory[% loo.row | html %]" name="mandatory[% loo.row | html %]" value="1" />
194                                                             [% END %]
195                                                         </li>
196                                                         <li>
197                                                             <label for="important[% loo.row | html %]">Important: </label>
198                                                             [% IF loo.important %]
199                                                                 <input type="checkbox" id="important[% loo.row | html %]" name="important[% loo.row | html %]" checked="checked" value="1" />
200                                                             [% ELSE %]
201                                                                 <input type="checkbox" id="important[% loo.row | html %]" name="important[% loo.row | html %]" value="1" />
202                                                             [% END %]
203                                                         </li>
204                                                         <li><label for="tab[% loo.row | html %]">Managed in tab: </label>
205                                                             <select name="tab" tabindex="" id="tab[% loo.row | html %]">
206                                                             [%- IF ( loo.tab ==  -1 ) -%]
207                                                                 <option value="-1" selected="selected">ignore</option>
208                                                             [%- ELSE -%]
209                                                                 <option value="-1">ignore</option>
210                                                             [%- END -%]
211                                                             [%- FOREACH t IN [ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] -%]
212                                                                 [%- IF ( loo.tab ==  t ) -%]
213                                                                 <option value="[%- t | html -%]" selected="selected">[%- t | html -%]</option>
214                                                                 [%- ELSE -%]
215                                                                 <option value="[%- t | html -%]">[%- t | html -%]</option>
216                                                                 [%- END -%]
217                                                             [%- END -%]
218                                                             [%- IF ( loo.tab ==  10 ) -%]
219                                                                 <option value="10" selected="selected">items (10)</option>
220                                                             [%- ELSE -%]
221                                                                 <option value="10">items (10)</option>
222                                                             [%- END -%]
223                                                             </select>
224                                                             <div class="hint">Ignore means that the subfield does not display in the record editor</div>
225                                                         </li>
226                                                     </ol>
227                                                 </fieldset> <!-- /.rows -->
228                                             </div> <!-- /#basic[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] -->
229
230                                             <div id="advanced[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="contraints">
231                                                 <fieldset class="rows">
232                                                     <legend>Advanced constraints</legend>
233                                                     <ol>
234                                                         <li>
235                                                             <label for="defaultvalue[% loo.row | html %]">Default value:</label>
236                                                             <input type="text" name="defaultvalue" id="defaultvalue[% loo.row | html %]" value="[% loo.defaultvalue | html %]" />
237                                                         </li>
238                                                         <li>
239                                                             <label for="maxlength[% loo.row | html %]">Max length:</label>
240                                                             <input type="text" id="maxlength[% loo.row | html %]" name="maxlength" value="[% loo.maxlength | html %]" size="4" />
241                                                         </li>
242                                                         <li>
243                                                             [% IF loo.hidden_protected %]
244                                                                 <input type="hidden" id="hidden-[% loo.row | html %]" name="hidden" value="[% loo.hidden | html %]" data-koha-protected="1" />
245                                                             [% ELSE %]
246                                                                 <input type="hidden" id="hidden-[% loo.row | html %]" name="hidden" value="[% loo.hidden | html %]" />
247                                                             [% END %]
248                                                             <label for="hidden[% loo.row | html %]">Visibility: </label>
249                                                             <input type="checkbox" id="hidden_opac_[% loo.row | html %]" class="inclusive_[% loo.row | html %]" name="hidden_opac_[% loo.row | html %]"/>
250                                                             <label for="hidden_opac_[% loo.row | html %]" style="float: none;">OPAC</label>
251                                                             <input type="checkbox" id="hidden_intranet_[% loo.row | html %]" class="inclusive_[% loo.row | html %]" name="hidden_intranet_[% loo.row | html %]"/>
252                                                             <label for="hidden_intranet_[% loo.row | html %]" style="float: none;">Intranet</label>
253                                                             <input type="checkbox" id="hidden_editor_[% loo.row | html %]" class="inclusive_[% loo.row | html %]" name="hidden_editor_[% loo.row | html %]"/>
254                                                             <label for="hidden_editor_[% loo.row | html %]" style="float: none;">Editor</label>
255                                                             <input type="checkbox" id="hidden_collapsed_[% loo.row | html %]" class="inclusive_[% loo.row | html %]" name="hidden_collapsed_[% loo.row | html %]"/>
256                                                             <label for="hidden_collapsed_[% loo.row | html %]" style="float: none;">Collapsed</label>
257                                                             <input type="checkbox" id="hidden_flagged_[% loo.row | html %]" name="flagged_[% loo.row | html %]"/>
258                                                             <label for="hidden_flagged_[% loo.row | html %]" style="float: none;">Flagged</label>
259                                                         </li>
260                                                         <li>
261                                                             <label for="isurl[% loo.row | html %]">Is a URL:</label>
262                                                             [% IF loo.isurl %]
263                                                                 <input type="checkbox" id="isurl[% loo.row | html %]" name="isurl[% loo.row | html %]" checked="checked" value="1" />
264                                                             [% ELSE %]
265                                                                 <input type="checkbox" id="isurl[% loo.row | html %]" name="isurl[% loo.row | html %]" value="1" />
266                                                             [% END %]
267                                                             <span class="hint">If checked, it means that the subfield is a URL and can be clicked</span>
268                                                         </li>
269                                                         <li>
270                                                             <label for="link[% loo.row | html %]">Link:</label>
271                                                             <input type="text" id="link[% loo.row | html %]" name="link" value="[% loo.link | html %]" size="10" maxlength="80" />
272                                                             <div class="hint">An index name, e.g. title or Local-Number</div>
273                                                         </li>
274                                                         <li>
275                                                             <label for="kohafield[% loo.row | html %]">Koha link:</label>
276                                                             <!-- This select should be DISABLED; value is submitted by the following hidden input -->
277                                                             <select name="kohafield" id="kohafield[% loo.row | html %]" disabled>
278                                                             [% FOREACH value IN loo.kohafields %]
279                                                             [% IF ( value == loo.kohafield ) %]
280                                                                 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
281                                                             [% ELSE %]
282                                                                 <option value="[% value | html %]">[% value | html %]</option>
283                                                             [% END %]
284                                                             [% END %]
285                                                             </select>
286                                                             <!-- Do NOT remove this next hidden input! We need it to save kohafield. -->
287                                                             <input type="hidden" name="kohafield" value="[% loo.kohafield | html %]"/>
288                                                         </li>
289                                                     </ol>
290                                                 </fieldset> <!-- /.rows -->
291                                             </div> <!-- /#advanced[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] -->
292
293                                             <div id="oth[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="constraints">
294                                                 <fieldset class="rows">
295                                                     <legend>Other options (choose one)</legend>
296                                                     <ol>
297                                                         <li>
298                                                             <label for="authorised_value[% loo.row | html %]">Authorized value:</label>
299                                                             <select name="authorised_value" id="authorised_value[% loo.row | html %]">
300                                                             <option value=""></option>
301                                                             [% FOREACH value IN loo.authorised_values %]
302                                                                 [% IF ( value == loo.authorised_value ) %]
303                                                                     <option value="[% value | html %]" selected="selected">[% value | html %]</option>
304                                                                 [% ELSE %]
305                                                                     <option value="[% value | html %]">[% value | html %]</option>
306                                                                 [% END %]
307                                                             [% END %]
308                                                             </select>
309                                                         </li>
310                                                         <li>
311                                                             <label for="authtypecode[% loo.row | html %]">Thesaurus:</label>
312                                                             <select name="authtypecode" id="authtypecode[% loo.row | html %]">
313                                                             [% FOREACH value IN loo.authtypes %]
314                                                                 [% IF ( value == loo.authtypecode ) %]
315                                                                     <option value="[% value | html %]" selected="selected">[% value | html %]</option>
316                                                                 [% ELSE %]
317                                                                     <option value="[% value | html %]">[% value | html %]</option>
318                                                                 [% END %]
319                                                             [% END %]
320                                                             </select>
321                                                         </li>
322                                                         <li>
323                                                             <label for="value_builder[% loo.row | html %]">Plugin:</label>
324                                                             <select name="value_builder" id="value_builder[% loo.row | html %]">
325                                                             [% FOREACH value IN loo.value_builders %]
326                                                                 [% IF ( value == loo.value_builder ) %]
327                                                                     <option value="[% value | html %]" selected="selected">[% value | html %]</option>
328                                                                 [% ELSE %]
329                                                                     <option value="[% value | html %]">[% value | html %]</option>
330                                                                 [% END %]
331                                                             [% END %]
332                                                             </select>
333                                                         </li>
334                                                     </ol>
335                                                 </fieldset> <!-- /.rows -->
336                                             </div> <!-- /#oth[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%] -->
337                                         </div><!-- /constraints -->
338                                     [% END # /FOREACH loo %]
339                                 </div> <!-- /.tab-content -->
340                             </div><!-- /subfieldtabs -->
341
342                             <fieldset class="action">
343                                 <input type="submit" value="Save changes" /> <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield  | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="cancel">Cancel</a>
344                             </fieldset>
345                         </form>
346                     [% END # /IF ( add_form ) %]
347
348                     [% IF ( delete_confirm ) %]
349                         <div class="dialog alert">
350                             <h1>Confirm deletion of subfield [% mss.tagsubfield | html %]?</h1>
351                             <p>Subfield: [% mss.tagsubfield | html %]</p>
352                             <p>Description: [% mss.liblibrarian | html_entity %]</p>
353
354                             <form action="[% delete_link | html %]" method="post"><input type="hidden" name="op" value="delete_confirmed" />
355                                 <input type="hidden" name="tagfield" value="[% mss.tagfield | html %]" />
356                                 <input type="hidden" name="tagsubfield" value="[% mss.tagsubfield | html %]" />
357                                 <input type="hidden" name="frameworkcode" value="[% mss.frameworkcode | html %]" />
358                                 <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this subfield</button>
359                             </form>
360
361
362                             <form action="[% script_name | html %]" method="post">
363                                 <input type="hidden" name="tagfield" value="[% mss.tagfield | html %]" />
364                                 <input type="hidden" name="tagsubfield" value="[% mss.tagsubfield | html %]" />
365                                 <input type="hidden" name="frameworkcode" value="[% mss.frameworkcode | html %]" />
366                                 <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
367                             </form>
368                         </div> <!-- /.dialog.alert -->
369                     [% END # /IF ( delete_confirm ) %]
370
371                     [% IF ( else ) %]
372                         <h1>MARC subfield structure admin for [% tagfield | html %] [% IF ( frameworkcode ) %](framework [% frameworkcode | html %])[% ELSE %](default framework)[% END %]</h1>
373
374                         <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
375                         <p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
376
377                         <table id="table_marcsubfieldstructure">
378                             <thead>
379                                 <tr>
380                                     <th>Subfield</th>
381                                     <th>Text</th>
382                                     <th>Constraints</th>
383                                     <th class="NoSort noExport">Actions</th>
384                                 </tr>
385                             </thead>
386                             <tbody>
387                                 [% FOREACH loo IN loop %]
388                                     <tr>
389                                         <td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field">[% loo.tagsubfield | html %]</a></td>
390                                         <td>
391                                             [% IF loo.tab == -1 %]
392                                                 <em>[% loo.liblibrarian | html_entity %]</em>
393                                             [% ELSE %]
394                                                 [% loo.liblibrarian | html_entity %]
395                                             [% END %]
396                                         </td>
397                                         <td>
398                                             [% IF loo.tab == -1 %]
399                                                 <em>subfield ignored</em>
400                                             [% ELSE %]
401                                                 <span>Tab:[% loo.tab | html %]</span>,
402                                                 [% IF ( loo.kohafield ) %] | <span>Koha field: [% loo.kohafield | html %]</span>, [% END %]
403                                                 [% IF ( loo.repeatable ) %]<span>Repeatable</span>, [% ELSE %]<span>Not repeatable</span>,[% END %]
404                                                 [% IF ( loo.mandatory ) %]<span>Mandatory</span>, [% ELSE %]<span>Not mandatory</span>,[% END %]
405                                                 [% IF ( loo.important ) %]<span>Important</span>, [% ELSE %]<span>Not important</span>,[% END %]
406                                                 [% IF ( loo.seealso ) %] | <span>See also: [% loo.seealso | html %]</span>,[% END %]
407                                                 [% IF ( loo.hidden ) %]<span>hidden</span>,[% END %]
408                                                 [% IF ( loo.isurl ) %]<span>is a URL</span>,[% END %]
409                                                 [% IF ( loo.authorised_value ) %] | <span>Auth value:[% loo.authorised_value | html %]</span>,[% END %]
410                                                 [% IF ( loo.authtypecode ) %] | <span>Authority:[% loo.authtypecode | html %]</span>,[% END %]
411                                                 [% IF ( loo.value_builder ) %] | <span>Plugin:[% loo.value_builder | html %]</span>,[% END %]
412                                                 [% IF ( loo.link ) %] | <span>Link:[% loo.link | html %]</span>,[% END %]
413                                             [% END %]
414                                         </td>
415                                         <td class="actions">
416                                             <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
417                                             <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=delete_confirm&amp;tagfield=[% loo.tagfield | uri %]&amp;tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
418                                         </td>
419                                     </tr>
420                                 [% END %]
421                             </tbody>
422                         </table> <!-- /#table_marcsubfieldstructure -->
423
424                         <form action="[% script_name | html %]" method="get">
425                             <fieldset class="action"><input type="hidden" name="op" value="add_form" />
426                                 <input type="hidden" name="tagfield" value="[% edit_tagfield | html %]" />
427                                 <input type="hidden" name="frameworkcode" value="[% edit_frameworkcode | html %]" />
428                                 <input type="submit" value="Edit subfields" />
429                                 <a class="cancel" href="marctagstructure.pl?searchfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode | html %]">Cancel</a>
430                             </fieldset>
431                         </form>
432
433                     [% END # /IF else %]
434
435                 </main>
436             </div> <!-- /.col-sm-10.col-sm-push-2 -->
437
438             <div class="col-sm-2 col-sm-pull-10">
439                 <aside>
440                     [% INCLUDE 'admin-menu.inc' %]
441                 </aside>
442             </div> <!-- /.col-sm-2.col-sm-pull-10 -->
443         </div> <!-- /.row -->
444
445     [% MACRO jsinclude BLOCK %]
446         [% INCLUDE 'datatables.inc' %]
447         [% Asset.js("js/admin-menu.js") | $raw %]
448         <script>
449             var tagsubfield = "[% tagsubfield | html %]";
450         </script>
451         [% Asset.js("js/marc_subfields_structure.js") | $raw %]
452     [% END %]
453
454     [% INCLUDE 'intranet-bottom.inc' %]