Bug 13272: (follow-up) add missing type="text"

This addresses comment #13.
This also applies cleanly.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 623f1db90a)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Mark Tompsett 2018-09-26 22:57:32 +00:00 committed by Martin Renvoize
parent 73b197df9e
commit 721cefdb95
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
11 changed files with 25 additions and 24 deletions

View File

@ -8,14 +8,14 @@
<div id="checkin_search" class="residentsearch">
<p class="tip">Scan a barcode to check in:</p>
<form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
<input name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" />
<input type="text" name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" />
<input value="Submit" class="submit" type="submit" />
</form>
</div>
<div id="renew_search" class="residentsearch">
<p class="tip">Scan a barcode to renew:</p>
<form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
<input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
<input type="text" class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
<input value="Submit" class="submit" type="submit" />
</form>
</div>

View File

@ -16,14 +16,14 @@
<div id="checkin_search" class="residentsearch">
<p class="tip">Scan a barcode to check in:</p>
<form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
<input class="head-searchbox" name="barcode" id="ret_barcode" size="40" />
<input class="head-searchbox" type="text" name="barcode" id="ret_barcode" size="40" />
<input value="Submit" class="submit" type="submit" />
</form>
</div>
<div id="renew_search" class="residentsearch">
<p class="tip">Scan a barcode to renew:</p>
<form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
<input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
<input class="head-searchbox" type="text" name="barcode" id="ren_barcode" size="40" />
<input value="Submit" class="submit" type="submit" />
</form>
</div>

View File

@ -8,7 +8,7 @@
<div id="renew_search" class="residentsearch">
<p class="tip">Scan a barcode to renew:</p>
<form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
<input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
<input class="head-searchbox" type="text" name="barcode" id="ren_barcode" size="40" />
<input value="Submit" class="submit" type="submit" />
</form>
</div>

View File

@ -98,13 +98,13 @@
<ol class="clearfix">
<input type="hidden" name="club_template_field_id" value="[% f.id %]" />
<li>
<label for="field-name-[% f.id %]">Name:</label>
<input name="club_template_field_name" id="field-name-[% f.id %]" value="[% f.name %]" />
<label for="field-name-[% f.id | html %]">Name:</label>
<input type="text" name="club_template_field_name" id="field-name-[% f.id | html %]" value="[% f.name | html %]" />
</li>
<li>
<label for="field-description-[% f.id %]">Description:</label>
<input name="club_template_field_description" id="field-description-[% f.id %]" value="[% f.description %]" />
<input type="text" name="club_template_field_description" id="field-description-[% f.id | html %]" value="[% f.description | html %]" />
</li>
<li>
@ -144,12 +144,12 @@
<li>
<input type="hidden" name="club_template_enrollment_field_id" value="[% f.id %]" />
<label for="enrollment-field-name-[% f.id %]">Name:</label>
<input name="club_template_enrollment_field_name" id="enrollment-field-name-[% f.id %]" value="[% f.name %]" size="40" />
<input type="text" name="club_template_enrollment_field_name" id="enrollment-field-name-[% f.id %]" value="[% f.name %]" size="40" />
</li>
<li>
<label for="enrollment-field-description-[% f.id %]">Description:</label>
<input name="club_template_enrollment_field_description" id="enrollment-field-description-[% f.id %]" value="[% f.description %]" size="40" />
<input type="text" name="club_template_enrollment_field_description" id="enrollment-field-description-[% f.id %]" value="[% f.description %]" size="40" />
</li>
<li>
@ -193,12 +193,12 @@
<li>
<label for="club_template_field_name">Name:</label>
<input name="club_template_field_name" />
<input type="text" name="club_template_field_name" />
</li>
<li>
<label for="club_template_field_description">Description:</label>
<input name="club_template_field_description" />
<input type="text" name="club_template_field_description" />
</li>
<li>
@ -220,12 +220,12 @@
<li>
<label for="club_template_enrollment_field_name">Name:</label>
<input name="club_template_enrollment_field_name" />
<input type="text" name="club_template_enrollment_field_name" />
</li>
<li>
<label for="club_template_enrollment_field_description">Description:</label>
<input name="club_template_enrollment_field_description" />
<input type="text" name="club_template_enrollment_field_description" />
</li>
<li>

View File

@ -146,7 +146,7 @@
[% END %]
</select>
[% ELSE %]
<input id="field_[% field.id %]" name="field_[% field.id %]" placeholder="No change"/>
<input type="text" id="field_[% field.id | html %]" name="field_[% field.id | html %]" placeholder="No change"/>
[% END %]
</li>
[% END %]

View File

@ -52,7 +52,7 @@
[% IF ( TagsInputEnabled && loggedinusername ) %]
<span id="tagsel_form" style="display:none">
<label for="tagsel_new">New tag:</label>
<input name="tagsel_new" id="tagsel_new" maxlength="100" />
<input type="text" name="tagsel_new" id="tagsel_new" maxlength="100" />
<input id="tagsel_button" name="tagsel_button" class="input tagsel_button" title="Add" type="submit" value="Add">
<a href="#" id="tagsel_cancel">Cancel</a>
</span>

View File

@ -260,14 +260,14 @@
[% IF ( reserve_in_future ) %]
<li>
<label for="from[% bibitemloo.biblionumber %]">Hold starts on date:</label>
<input name="reserve_date_[% bibitemloo.biblionumber %]" id="from[% bibitemloo.biblionumber %]" size="10" class="holddatefrom"/>
<input type="text" name="reserve_date_[% bibitemloo.biblionumber %]" id="from[% bibitemloo.biblionumber %]" size="10" class="holddatefrom"/>
<span class="date-format from" data-biblionumber="[% bibitemloo.biblionumber %]">[% INCLUDE 'date-format.inc' %]</span>
</li>
[% END %]
<li>
<label for="to[% bibitemloo.biblionumber %]">Hold not needed after:</label>
<input name="expiration_date_[% bibitemloo.biblionumber %]" id="to[% bibitemloo.biblionumber %]" size="10" class="holddateto" />
<input type="text" name="expiration_date_[% bibitemloo.biblionumber %]" id="to[% bibitemloo.biblionumber %]" size="10" class="holddateto" />
<span class="date-format to" data-biblionumber="[% bibitemloo.biblionumber %]">[% INCLUDE 'date-format.inc' %]</span>
</li>

View File

@ -168,7 +168,7 @@
</span>
<div id="tagsel_form" style="display:none">
<label for="tagsel_new">New tag:</label>
<input name="tagsel_new" id="tagsel_new" maxlength="100" />
<input type="text" name="tagsel_new" id="tagsel_new" maxlength="100" />
<input id="tagsel_button" name="tagsel_button" class="tagsel_button btn btn-small" title="Add" type="submit" value="Add" />
<a href="#" id="tagsel_cancel">(done)</a>
</div>

View File

@ -55,7 +55,7 @@
<li><label for="name">List name:</label> [% shelfname | html %]</li>
<li>
<label for="invite_address">Email address:</label>
<input id="invite_address" name="invite_address" size="40" />
<input type="text" id="invite_address" name="invite_address" size="40" />
</li>
</ol>
</fieldset>

View File

@ -263,7 +263,7 @@
</span>
<span id="tagsel_form" style="display:none">
<label for="tagsel_new">New tag(s), separated by a comma:</label>
<input name="tagsel_new" id="tagsel_new" maxlength="100" />
<input type="text" name="tagsel_new" id="tagsel_new" maxlength="100" />
<input id="tagsel_button" name="tagsel_button" class="tagsel_button btn btn-small" title="tagsel_button" type="submit" value="Add" />
<a href="#" id="tagsel_cancel">Cancel</a>
</span>
@ -449,9 +449,10 @@
<span class="actions"><a class="tag_add hidden" id="tag_add[% itemsloo.biblionumber %]" href="#">Add tag</a></span>
<div id="tagform[% itemsloo.biblionumber %]" class="tag_results_input" style="display:none;">
<label for="newtag[% itemsloo.biblionumber %]">New tag(s), separated by a comma:</label>
<input name="newtag[% itemsloo.biblionumber %]" id="newtag[% itemsloo.biblionumber %]" maxlength="100" />
<input type="text" name="newtag[% itemsloo.biblionumber %]" id="newtag[% itemsloo.biblionumber %]" maxlength="100" />
<input name="tagbutton" class="tagbutton btn btn-small" title="[% itemsloo.biblionumber %]" type="submit" value="Add" />
<a class="cancel_tag_add" id="cancel[% itemsloo.biblionumber %]" href="#">(done)</a>
</div>
<div id="newtag[% itemsloo.biblionumber %]_status" class="tagstatus" style="display:none;">
Tag status here.

View File

@ -719,7 +719,7 @@
<div class="modal-body">
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" />
<label for="suspend_until_[% RESERVE.reserve_id %]">Suspend until:</label>
<input name="suspend_until" id="suspend_until_[% RESERVE.reserve_id %]" class="suspend-until" size="10" />
<input type="text" name="suspend_until" id="suspend_until_[% RESERVE.reserve_id %]" class="suspend-until" size="10" />
[% INCLUDE 'date-format.inc' %]
<p class="js-show"><a href="#" onclick="document.getElementById('suspend_until_[% RESERVE.reserve_id %]').value='';return false;">Clear date to suspend indefinitely</a></p>
<button class="btn btn-mini js-hide" type="submit" name="submit">Suspend</button>
@ -761,7 +761,7 @@
[% IF AutoResumeSuspendedHolds %]
<label for="suspend_until"> until </label>
<input name="suspend_until" id="suspend_until" class="suspend-until" readonly="readonly" size="10" />
<input type="text" name="suspend_until" id="suspend_until" class="suspend-until" readonly="readonly" size="10" />
<a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('suspend_until').value='';return false;">Clear date to suspend indefinitely</a>
[% END %]
</form>