Add support to choose the sheet within google spreadsheets

This commit is contained in:
2020-06-10 15:50:15 +02:00
parent 7eb0ca6753
commit e64fa197aa
6 changed files with 91 additions and 71 deletions

View File

@@ -52,6 +52,19 @@
<p class="help">The URL where the user will be redirected after submission</p>
</div>
<% if @form.google? %>
<div class="field">
<label class="label">Sheet</label>
<div class="control">
<%= f.text_field :google_spreadsheet_sheet, class: 'input', autocomplete: 'off' %>
</div>
<p class="help">Which sheet within the spreadsheet should be used? Defaults to the first sheet. - make sure you enter the name exactly like in your spreadsheet.</p>
</div>
<% end %>
<% if @form.airtable? %>
<div class="field">