Sha256: d54de9177e5d97cb153905475ee4460a8ee74106f368c2ddcc60eac661d7d942

Contents?: true

Size: 222 Bytes

Versions: 10

Compression:

Stored size: 222 Bytes

Contents

class TranslationInput < SimpleForm::Inputs::StringInput
  include Concerns::TranslationHint

  def input(wrapper_options = nil)
    format(
        '%s%s',
        super,
        translation_hint
    ).html_safe
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tmatt_cms-0.1.9 lib/generators/tmatt_cms/templates/inputs/translation_input.rb
tmatt_cms-0.1.8 lib/generators/tmatt_cms/templates/inputs/translation_input.rb
tmatt_cms-0.1.7 lib/generators/tmatt_cms/templates/inputs/translation_input.rb
tmatt_cms-0.1.6 lib/generators/tmatt_cms/templates/inputs/translation_input.rb
tmatt_cms-0.1.5 lib/generators/tmatt_cms/templates/inputs/translation_input.rb
tmatt_cms-0.1.4 lib/generators/tmatt_cms/templates/inputs/translation_input.rb
tmatt_cms-0.1.3 lib/generators/tmatt_cms/templates/inputs/translation_input.rb
tmatt_cms-0.1.2 lib/generators/tmatt_cms/templates/inputs/translation_input.rb
tmatt_cms-0.1.1 lib/generators/tmatt_cms/templates/inputs/translation_input.rb
tmatt_cms-0.1.0 lib/generators/tmatt_cms/templates/inputs/translation_input.rb