diff options
Diffstat (limited to 'app/views/exports/new.html.erb')
| -rw-r--r-- | app/views/exports/new.html.erb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/exports/new.html.erb b/app/views/exports/new.html.erb new file mode 100644 index 0000000..73481a7 --- /dev/null +++ b/app/views/exports/new.html.erb @@ -0,0 +1,14 @@ +<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> |
