<?php

defined('_JEXEC') or die;

$attrs = [
    'id' => "finder-{$module->id}",
    'class' => ['uk-search', 'finder'.$params->get('moduleclass_sfx')],
    'action' => JRoute::_('index.php'),
    'method' => 'get',
    'role' => 'search',
];

?>

<form<?= JHtml::_('attrs', $attrs) ?>>
    <input class="uk-search-input" type="search" name="q" placeholder="<?= JText::_('MOD_FINDER_SEARCH_VALUE') ?>">
    <?= modFinderHelper::getGetFields($route, (int) $params->get('set_itemid')) ?>
</form>
