<div class="notice"><b><%= I18n.t('searches.export.note') %></b>: <%= I18n.t('searches.export.note-msg') %>.</div>

<div data-controller="export">
    <div id="errors"></div>

    <input type="hidden" data-export-target="id" value="<%= @search.id %>" />

    <select id="export-select-format" data-action="export#change">
        <option selected="selected" value="csv">CSV</option>
        <option value="uoc">UOC</option>
    </select>

    <a id="export-format-button" class="button" href="#">Export</a>
</div>
