<?php
$this->htmlElement('body')->appendAttribute('class', 'media search');
$this->headScript()->appendFile($this->assetUrl('js/advanced-search.js', 'Omeka'));
?>
<?php echo $this->pageTitle($this->translate('Advanced Media Search')); ?>
<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' => 'media']
); ?>
<div id="page-actions">
    <input type="submit" name="submit" value="<?php echo $this->escapeHtml($this->translate('Search')); ?>">
</div>
</form>
