mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-18 08:40:49 +00:00
3bae52817b
* Add missing spaces between attributes. * Remove duplicate attributes. * Remove unnecessary spaces and newlines. Change-Id: Ia688234712f24f20cb1b45496f4736a98e69b00f
18 lines
655 B
Plaintext
18 lines
655 B
Plaintext
<form action="{{form-action}}" method="get" class="minerva-search-form">
|
|
<div class="search-box">
|
|
<input type="hidden" name="title" value="{{page-title}}"/>
|
|
<input class="search minerva-icon--search skin-minerva-search-trigger" id="searchInput"
|
|
{{{html-input-attributes}}}>
|
|
</div>
|
|
{{!
|
|
A button when clicked will submit the form
|
|
This is used so that on tablet devices with JS disabled the search button
|
|
passes the value of input to the search
|
|
We avoid using input[type=submit] as these cannot be easily styled as mediawiki ui icons
|
|
which is problematic in Opera Mini (see T140490)
|
|
}}
|
|
{{#data-btn}}
|
|
{{>Button}}
|
|
{{/data-btn}}
|
|
</form>
|