<%= link_to image_tag("#{@form.backend_name}-icon.svg", alt: @form.backend_name.humanize), @form.spreadsheet_url %>

<%= @form.title %>

<% if @form.submissions.empty? %>

Setup your online form:

Your form submission URL: <%= submission_url(@form) %>

Set the action of your online form to this URL and make sure your fields have proper name attributes.

Example:


<%= html_escape_once render('form_example', form: @form) %>
        

Let us know if you need <%= link_to 'help', help_url %> - we also build the form for you!

<% else %>
<% @form.spreadsheet_headers.each do |value| %> <% end %> <% @submissions.each do |submission| %> <% @form.spreadsheet_headers.each do |column| %> <% end %> <% end %>
<%= value %>
<%= submission.data[column] %>
<%== pagy_bulma_nav(@pagy) %> <% end %>