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

<%= @form.title %>

<%= form_for @form, local: true do |f| %>
<%= f.text_field :title, class: 'input', placeholder: '', autocomplete: 'off' %>
<%= f.text_field :thank_you_url, class: 'input', placeholder: '', autocomplete: 'off' %>

The URL where the user will be redirected after submission

<% if @form.airtable? %>
<%= f.text_field :airtable_table, class: 'input', placeholder: 'Table 1', autocomplete: 'off' %>

The name of the table in your Airtable base. Your Airtable can have multiple tables/sheets. Which one do you want to use?

<%= f.text_field :airtable_api_key, class: 'input', placeholder: '', autocomplete: 'off' %>

Your Airtable account API Key. You find this one on your Airtable account page.

<%= f.text_field :airtable_app_key, class: 'input', placeholder: '', autocomplete: 'off' %>

The application key of your Airtable document. You find this one on the API page of your Airtable base.

<% end %>
<%= f.submit 'Save', class: 'button is-primary' %>
<% end %>