Modify UI for "accept terms" checkbox (#321)

* <Changed terms and conditions checkbox>

* <Fixed code style>
This commit is contained in:
John Ma
2018-11-15 12:56:00 -05:00
committed by Jesus Federico
parent 9f26485fb5
commit 0e7277a046
3 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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