Sha256: 05f8d8835c07aba3f9cc2f48f57f7244d632451b8a8da8608629c0f097189d99

Contents?: true

Size: 181 Bytes

Versions: 25

Compression:

Stored size: 181 Bytes

Contents

module Admin::Resources::DataTypes::TextHelper

  def table_text_field(attribute, item)
    (raw_content = item.send(attribute)).present? ? truncate(raw_content) : mdash
  end

end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
brainsome_typus-4.0.0.beta13 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta12 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta11 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta10 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta9 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta8 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta7 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta6 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta5 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta4 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta3 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta2 app/helpers/admin/resources/data_types/text_helper.rb
brainsome_typus-4.0.0.beta1 app/helpers/admin/resources/data_types/text_helper.rb
typus-3.1.10 app/helpers/admin/resources/data_types/text_helper.rb
typus-3.1.9 app/helpers/admin/resources/data_types/text_helper.rb
typus-3.1.8 app/helpers/admin/resources/data_types/text_helper.rb
typus-3.1.7 app/helpers/admin/resources/data_types/text_helper.rb
typus-3.1.6 app/helpers/admin/resources/data_types/text_helper.rb
typus-3.1.5 app/helpers/admin/resources/data_types/text_helper.rb
typus-3.1.4 app/helpers/admin/resources/data_types/text_helper.rb