Sha256: 9a143c232929f2dc5ce4eadfa721e84945597dca0b1a08515c628f22d6b92d4e

Contents?: true

Size: 251 Bytes

Versions: 6

Compression:

Stored size: 251 Bytes

Contents

module AdmixHelper
  
  include CoreHelper

  def app_title
    Setting.app_title
  end

  def input_label(model_name, input_name)
    I18n.t("#{model_name}.#{input_name}", scope: :"simple_form.labels", default: [:"defaults.#{input_name}"])
  end

end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mix-rails-0.23.1 admix/app/helpers/admix_helper.rb
admix-0.23.1 app/helpers/admix_helper.rb
mix-rails-0.23.0 admix/app/helpers/admix_helper.rb
admix-0.23.0 app/helpers/admix_helper.rb
mix-rails-0.22.0 admix/app/helpers/admix_helper.rb
admix-0.22.0 app/helpers/admix_helper.rb