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.35 lib/app/helpers/form_elements/header.rb
inline_forms-2.23 lib/app/helpers/form_elements/header.rb
inline_forms-2.22 lib/app/helpers/form_elements/header.rb
inline_forms-2.21 lib/app/helpers/form_elements/header.rb
inline_forms-2.2 lib/app/helpers/form_elements/header.rb
inline_forms-2.1 lib/app/helpers/form_elements/header.rb
inline_forms-2.0 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.33 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.32 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.31 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.30 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.29 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.28 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.27 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.26 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.25 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.24 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.23 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.22 lib/app/helpers/form_elements/header.rb
inline_forms-1.6.21 lib/app/helpers/form_elements/header.rb