Form to create airtable and google sheets forms

This commit is contained in:
2020-04-25 22:58:03 +02:00
parent 60386cb51e
commit 833de45827
6 changed files with 108 additions and 13 deletions

View File

@@ -68,5 +68,6 @@ class Form < ApplicationRecord
def insert_defaults
self.backend_name ||= airtable_app_key.present? ? 'airtable' : 'google_sheets'
self.title ||= airtable_table
end
end