forked from External/greenlight
Modify UI for "accept terms" checkbox (#321)
* <Changed terms and conditions checkbox> * <Fixed code style>
This commit is contained in:
@ -28,6 +28,11 @@ Rails.application.configure do
|
||||
config.cache_store = :null_store
|
||||
end
|
||||
|
||||
# Don't wrap form components in field_with_error divs
|
||||
ActionView::Base.field_error_proc = proc do |html_tag|
|
||||
html_tag.html_safe
|
||||
end
|
||||
|
||||
# Tell Action Mailer to use smtp server, if configured
|
||||
config.action_mailer.delivery_method = ENV['SMTP_SERVER'].present? ? :smtp : :sendmail
|
||||
|
||||
|
@ -51,6 +51,11 @@ Rails.application.configure do
|
||||
# Prepend all log lines with the following tags.
|
||||
config.log_tags = [:request_id]
|
||||
|
||||
# Don't wrap form components in field_with_error divs
|
||||
ActionView::Base.field_error_proc = proc do |html_tag|
|
||||
html_tag.html_safe
|
||||
end
|
||||
|
||||
# Use a different cache store in production.
|
||||
# config.cache_store = :mem_cache_store
|
||||
|
||||
|
Reference in New Issue
Block a user