Sha256: fe30cba02507a62b497d5e600ad1c727d4c5449342421e35917fe2495acc3e1c

Contents?: true

Size: 391 Bytes

Versions: 198

Compression:

Stored size: 391 Bytes

Contents

# -*- encoding : utf-8 -*-
# not needed here, since this is only used in the views InlineForms::SPECIAL_COLUMN_TYPES[:header]=:string

def header_show(object, attribute)
  # show the header which is the translated fake attribute
  attribute
end

def header_edit(object, attribute)
  # just show the header
  attribute
end

def header_update(object, attribute)
  # do absolutely nothing
end

Version data entries

198 entries across 198 versions & 1 rubygems

Version Path
inline_forms-1.6.20 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.19 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.18 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.17 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.16 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.15 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.12 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.11 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.10 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.9 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.8 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.7 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.6 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.5 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.4 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.3 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.2 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.1 lib/app/helpers/form_elements/header.rb