<?php
$this->htmlElement('body')->appendAttribute('class', 'item-sets search');
$this->headScript()->appendFile($this->assetUrl('js/advanced-search.js', 'Omeka'));
?>

<h2><?php echo $this->translate('Advanced Item Set Search'); ?></h2>
<form id="advanced-search" method="get" action="<?php echo $this->escapeHtml($this->url(null, ['action' => 'browse'], true)); ?>">
<?php echo $this->partial(
    'common/advanced-search',
    ['query' => $this->params()->fromQuery(), 'resourceType' => 'item_set']
); ?>
<div id="page-actions">
    <input type="submit" name="submit" value="<?php echo $this->escapeHtml($this->translate('Search')); ?>">
</div>
</form>
