class CustomWizard::Field
def self.types
@types ||= ['text', 'textarea', 'composer', 'text_only', 'number', 'checkbox', 'url', 'upload', 'dropdown', 'tag', 'category', 'group', 'user_selector']
end
def self.require_assets
@require_assets ||= {}
def self.add_assets(type, plugin = nil, asset_paths = [])
if type
types.push(*type)
if plugin && asset_paths
require_assets[plugin] = asset_paths