[Koha-bugs] [Bug 13272] Many inputs lack a type attribute
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 17 18:59:04 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13272
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Staff Client |Templates
Version|unspecified |master
Assignee|koha-bugs at lists.koha-commun |oleonard at myacpl.org
|ity.org |
Summary|Check in textbox lacks type |Many inputs lack a type
|attribute |attribute
--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Using this regex: <input(?:\s+(?!type=)\w+="[^"]*")*\s*/>
(https://stackoverflow.com/questions/3472772/need-regex-for-all-html-input-tags-which-lack-a-specific-attribute)
I found 23 matches in the staff client templates:
prog\en\includes\borrower_debarments.inc
prog\en\includes\cat-search.inc
prog\en\includes\circ-search.inc
prog\en\includes\home-search.inc
prog\en\includes\patron-search.inc
prog\en\modules\acqui\z3950_search.tt
prog\en\modules\admin\smart-rules.tt
prog\en\modules\cataloguing\z3950_auth_search.tt
prog\en\modules\cataloguing\z3950_search.tt
prog\en\modules\circ\branchtransfers.tt
prog\en\modules\circ\offline.tt
prog\en\modules\circ\renew.tt
prog\en\modules\circ\returns.tt
prog\en\modules\members\memberentrygen.tt
prog\en\modules\members\paycollect.tt
prog\en\modules\patroncards\members-search.tt
prog\en\modules\reserve\request.tt
prog\en\modules\tools\import_borrowers.tt
Looks like the type attribute isn't strictly required since it defaults to
"text," but there's no reason why we shouldn't add an explicit type to enable
consistent styling.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list