Lines 13-41
Link Here
|
13 |
</li> |
13 |
</li> |
14 |
<li> |
14 |
<li> |
15 |
<label class="required" for="label">Label: </label> |
15 |
<label class="required" for="label">Label: </label> |
16 |
[% IF field %] |
|
|
17 |
<input type="text" name="label" id="label" value="[% field.label | html %]" class="required" required="required" /> |
16 |
<input type="text" name="label" id="label" value="[% field.label | html %]" class="required" required="required" /> |
18 |
[% ELSE %] |
|
|
19 |
<input type="text" name="label" id="label" class="required" required="required" /> |
20 |
[% END %] |
21 |
<span class="required">Required</span> |
17 |
<span class="required">Required</span> |
22 |
</li> |
18 |
</li> |
23 |
<li> |
19 |
<li> |
24 |
<label class="required" for="tagfield">MARC field: </label> |
20 |
<label class="required" for="tagfield">MARC field: </label> |
25 |
[% IF field && field.tagfield == tagfield %] |
21 |
<input type="text" id="tagfield" name="tagfield" maxlength="3" size="3" class="required" pattern="[a-zA-Z0-9]+" required="required" value="[% field.tagfield | html %]" /> |
26 |
<input type="text" id="tagfield" name="tagfield" maxlength="3" size="3" class="required" pattern="[a-zA-Z0-9]+" required="required" value="[% tagfield | html %]" /> |
22 |
<span class="required">Required</span> |
27 |
[% ELSE %] |
|
|
28 |
<input type="text" id="tagfield" name="tagfield" maxlength="3" size="3" class="required" pattern="[a-zA-Z0-9]+" required="required" /> |
29 |
[% END %] |
30 |
<span class="required">Required</span> |
31 |
</li> |
23 |
</li> |
32 |
<li> |
24 |
<li> |
33 |
<label for="tagsubfield">MARC subfield: </label> |
25 |
<label for="tagsubfield">MARC subfield: </label> |
34 |
[% IF field && field.tagsubfield == tagsubfield %] |
26 |
<input type="text" id="tagsubfield" name="tagsubfield" pattern="[a-zA-Z0-9]+" maxlength="1" size="1" value="[% field.tagsubfield | html %]" /> |
35 |
<input type="text" id="tagsubfield" name="tagsubfield" pattern="[a-zA-Z0-9]+" maxlength="1" size="1" value="[% tagsubfield | html %]" /> |
|
|
36 |
[% ELSE %] |
37 |
<input type="text" id="tagsubfield" name="tagsubfield" pattern="[a-zA-Z0-9]+" maxlength="1" size="1" /> |
38 |
[% END %] |
39 |
</li> |
27 |
</li> |
40 |
<li> |
28 |
<li> |
41 |
<label for="authorised_values_category">Authorised values category: </label> |
29 |
<label for="authorised_values_category">Authorised values category: </label> |
42 |
- |
|
|