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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/ill/backends/Standard/shared/form_input_helpers.inc (-5 / +4 lines)
Lines 3-11 Link Here
3
    <li>
3
    <li>
4
        <label for="[% id | html %]">[% label | html %]:</label>
4
        <label for="[% id | html %]">[% label | html %]:</label>
5
        [% IF opac %]
5
        [% IF opac %]
6
            <input class="form-control input-fluid" type="text" name="[% id | html %]" id="[% id | html %]" value="[% value | html %]" />
6
            <input [% IF required %]required[% END %] class="form-control input-fluid" type="text" name="[% id | html %]" id="[% id | html %]" value="[% value | html %]" />
7
        [% ELSE %]
7
        [% ELSE %]
8
            <input type="text" name="[% id | html %]" id="[% id | html %]" value="[% value | html %]" />
8
            <input [% IF required %]required[% END %] type="text" name="[% id | html %]" id="[% id | html %]" value="[% value | html %]" />
9
        [% END %]
9
        [% END %]
10
        [% IF required %]
10
        [% IF required %]
11
            <div class="required_label required">Required</div>
11
            <div class="required_label required">Required</div>
Lines 18-28 Link Here
18
    <li>
18
    <li>
19
        <label for="[% id | html %]">[% label | html %]:</label>
19
        <label for="[% id | html %]">[% label | html %]:</label>
20
        [% IF opac %]
20
        [% IF opac %]
21
            <select class="form-select input-fluid" name="[% id | html %]" id="[% id | html %]"
21
            <select [% IF required %]required[% END %] class="form-select input-fluid" name="[% id | html %]" id="[% id | html %]"
22
                >[% content | $raw %]</select
22
                >[% content | $raw %]</select
23
            >
23
            >
24
        [% ELSE %]
24
        [% ELSE %]
25
            <select name="[% id | html %]" id="[% id | html %]"
25
            <select [% IF required %]required[% END %] name="[% id | html %]" id="[% id | html %]"
26
                >[% content | $raw %]</select
26
                >[% content | $raw %]</select
27
            >
27
            >
28
        [% END %]
28
        [% END %]
29
- 

Return to bug 39773