Form to create airtable and google sheets forms
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user