Owen Leonard
3381a6463c
This patch reindents three item search field templates so that they have consistent indentation. To test, apply the patch and go to Administration -> Item search fields. Test all aspects of viewing, adding, and deleting item search fields. Everything should look correct and work correctly. Signed-off-by: David <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Edit: changed intendation on a tiny bit
35 lines
1.7 KiB
HTML
35 lines
1.7 KiB
HTML
[% PROCESS 'html_helpers.inc' %]
|
|
<ol>
|
|
<li>
|
|
[% IF field %]
|
|
<span class="label">Name: </span>
|
|
[% field.name | html %]
|
|
<input type="hidden" name="name" value="[% field.name | html %]">
|
|
[% ELSE %]
|
|
<label class="required" for="name">Name: </label>
|
|
<input type="text" name="name" id="name" class="required" required="required" />
|
|
<span class="required">Required</span>
|
|
[% END %]
|
|
</li>
|
|
<li>
|
|
<label class="required" for="label">Label: </label>
|
|
<input type="text" name="label" id="label" value="[% field.label | html %]" class="required" required="required" />
|
|
<span class="required">Required</span>
|
|
</li>
|
|
<li>
|
|
<label class="required" for="tagfield">MARC field: </label>
|
|
<input type="text" id="tagfield" name="tagfield" maxlength="3" size="3" class="required" pattern="[a-zA-Z0-9]+" required="required" value="[% field.tagfield | html %]" />
|
|
<span class="required">Required</span>
|
|
</li>
|
|
<li>
|
|
<label for="tagsubfield">MARC subfield: </label>
|
|
<input type="text" id="tagsubfield" name="tagsubfield" pattern="[a-zA-Z0-9]+" maxlength="1" size="1" value="[% field.tagsubfield | html %]" />
|
|
</li>
|
|
<li>
|
|
<label for="authorised_values_category">Authorised values category: </label>
|
|
<select id="authorised_values_category" name="authorised_values_category">
|
|
<option value="">- None -</option>
|
|
[% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => field.authorised_values_category ) %]
|
|
</select>
|
|
</li>
|
|
</ol>
|