2011-10-30 23:02:41 +00:00
|
|
|
module Locomotive::SitesHelper
|
2010-07-23 20:09:54 +00:00
|
|
|
|
2011-11-29 13:58:19 +00:00
|
|
|
# def error_on_domain(site, name)
|
|
|
|
# if (error = (site.errors[:domains] || []).detect { |n| n.include?(name) })
|
|
|
|
# content_tag(:span, error, :class => 'inline-errors')
|
|
|
|
# else
|
|
|
|
# ''
|
|
|
|
# end
|
|
|
|
# end
|
2010-07-23 20:09:54 +00:00
|
|
|
|
|
|
|
end
|