Sha256: 7b3f1935213a0e35ffd54d77a43a6c475e05365d64fc67d1008f9c20522b334b

Contents?: true

Size: 396 Bytes

Versions: 7

Compression:

Stored size: 396 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

7 entries across 7 versions & 1 rubygems

Version Path
alchemy-custom-model-0.1.6 app/helpers/alchemy/custom/model/base_helper.rb
alchemy-custom-model-0.1.5 app/helpers/alchemy/custom/model/base_helper.rb
alchemy-custom-model-0.1.4 app/helpers/alchemy/custom/model/base_helper.rb
alchemy-custom-model-0.1.3 app/helpers/alchemy/custom/model/base_helper.rb
alchemy-custom-model-0.1.2 app/helpers/alchemy/custom/model/base_helper.rb
alchemy-custom-model-0.1.1 app/helpers/alchemy/custom/model/base_helper.rb
alchemy-custom-model-0.1.0 app/helpers/alchemy/custom/model/base_helper.rb