Sha256: 83b2ef296b3bbcbb77445bfe6fa5c169a122f798f261fbf2df542fbf9643495e
Contents?: true
Size: 1.52 KB
Versions: 16
Compression:
Stored size: 1.52 KB
Contents
require 'active_support/core_ext/module/delegation' require 'active_support/core_ext/module/attribute_accessors' module Cmor module Contact module Configuration def configure yield self end mattr_accessor :input_name_css_classes do 'form-control' end mattr_accessor :input_email_css_classes do 'form-control' end mattr_accessor :input_phone_css_classes do 'form-control' end mattr_accessor :input_message_css_classes do 'form-control' end mattr_accessor :input_terms_of_service_css_classes do '' end mattr_accessor :form_actions_wrapper_css_classes do 'controls form-actions well' end mattr_accessor :sender do ->(contact_request) { "#{contact_request.name} <#{contact_request.email}>" } end mattr_accessor :recipients do ->(environment) { "jane.doe@domain.local" } end mattr_accessor :sender do ->(mail_form) { %("#{mail_form.name}" <#{mail_form.email}>) } end mattr_accessor :base_controller do 'ApplicationController' end mattr_accessor :additional_contact_information do nil end mattr_accessor :after_create_url do ->(controller) { controller.root_path } end mattr_accessor :contact_request_include_modules do ->() { [Cmor::Contact::ContactRequest::PhoneConcern] } end mattr_accessor :whatsapp_number do nil end end end end
Version data entries
16 entries across 16 versions & 1 rubygems