Module: Decidim::ExternalDomainHelper

Defined in:
decidim-core/app/helpers/decidim/external_domain_helper.rb

Instance Method Summary collapse

Instance Method Details

#highlight_domainObject


5
6
7
8
9
10
11
# File 'decidim-core/app/helpers/decidim/external_domain_helper.rb', line 5

def highlight_domain
  tag.div do
    (:span, "#{@url_parts[:protocol]}//") +
      (:span, @url_parts[:domain], class: "alert") +
      (:span, @url_parts[:path])
  end
end