Sha256: 9e87a53b4ada9cc4597537db9dd14e9c3d7f613d1cd3273252c34d275fb357a3

Contents?: true

Size: 184 Bytes

Versions: 18

Compression:

Stored size: 184 Bytes

Contents

module AdmixHelper
  
  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

18 entries across 18 versions & 2 rubygems

Version Path
mix-rails-0.16.0 admix/app/helpers/admix_helper.rb
admix-0.16.0 app/helpers/admix_helper.rb
mix-rails-0.15.0 admix/app/helpers/admix_helper.rb
admix-0.15.0 app/helpers/admix_helper.rb
mix-rails-0.12.2 admix/app/helpers/admix_helper.rb
admix-0.12.2 app/helpers/admix_helper.rb
mix-rails-0.12.1 admix/app/helpers/admix_helper.rb
admix-0.12.1 app/helpers/admix_helper.rb
admix-0.11.0 app/helpers/admix_helper.rb
mix-rails-0.10.4 admix/app/helpers/admix_helper.rb
admix-0.10.4 app/helpers/admix_helper.rb
mix-rails-0.10.3 admix/app/helpers/admix_helper.rb
admix-0.10.3 app/helpers/admix_helper.rb
admix-0.10.2 app/helpers/admix_helper.rb
admix-0.10.1 app/helpers/admix_helper.rb
mix-rails-0.7.0 admix/app/helpers/admix_helper.rb
mix-rails-0.6.0 admix/app/helpers/admix_helper.rb
mix-rails-0.5.0 admix/app/helpers/admix_helper.rb