<%= content_tag :div, id: 'plugin-html_export', class: 'tab-pane fade' do %> <%= form_tag project_export_manager_path(current_project), target: '_blank' do %> <%= hidden_field_tag :plugin, :html_export %> <%= hidden_field_tag :route, :root %>

Choose a template

Please choose one of the templates available for this plugin (find them in .<%= Dradis::Plugins::HtmlExport::TemplatePresenter.templates_dir[Rails.root.to_s.length..-1] %>)

<% Dradis::Plugins::HtmlExport::TemplatePresenter.each_template do |template| %> <% present(template, Dradis::Plugins::HtmlExport::TemplatePresenter) do |template_presenter| %>
<%= radio_button_tag :template, template_presenter.filename, Dradis::Plugins::HtmlExport::TemplatePresenter.templates.first == template , class: 'custom-control-input' %>
<% end %> <% end %>
<%= render partial: 'export/submit_button', locals: { plugin_name: Dradis::Plugins::HtmlExport::Engine.plugin_name } %>
<% end %> <% end%>