Bug 36221: (QA follow-up): Fix incorrect input type on HTML

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Pedro Amorim 2024-11-04 15:25:10 -01:00 committed by Katrin Fischer
parent 73dbed8b91
commit 588207c4e9
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@
<li>
<label for="[% id | html %]">[% label | html %][% IF required %]*[% END %]</label>
[% IF opac %]
<input class="form-control input-fluid" type="[% type | html %]" name="[% id | html %]" id="[% id | html%]" value="[% value | html %]" />
<input class="form-control input-fluid" type="text" name="[% id | html %]" id="[% id | html%]" value="[% value | html %]" />
[% ELSE %]
<input type="[% type | html %]" name="[% id | html %]" id="[% id | html%]" value="[% value | html %]" />
<input type="text" name="[% id | html %]" id="[% id | html%]" value="[% value | html %]" />
[% END %]
</li>
[% SET required = 0 %]