Sha256: 5cdde9bf18279cbdc64676d19f1b2c39f1000759bfb211df47a0899d9309f35d

Contents?: true

Size: 401 Bytes

Versions: 2

Compression:

Stored size: 401 Bytes

Contents

##
# Helper generale per gemma
module Alchemy::Custom::Model
  module BaseHelper

    include TranslationScope


    def print_current_site_language
      content_tag(:div, class: "current_site_language") do
        acm_t(:you_are_editing_site_language,
              site: Alchemy::Site.current.name,
              language: Alchemy::Language.current.name).html_safe
      end
    end






  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alchemy-custom-model-0.1.9 app/helpers/alchemy/custom/model/base_helper.rb
alchemy-custom-model-0.1.7 app/helpers/alchemy/custom/model/base_helper.rb