Sha256: feaf3c95851eecf5da8147d35c758fdd179985591cd65f2d3d58f30a32c3b433
Contents?: true
Size: 537 Bytes
Versions: 4
Compression:
Stored size: 537 Bytes
Contents
class Admix::SettingsDatagrid include Datagrid scope do Setting end filter :name, :string column :name, header: I18n.t('settings.fields.name') column :key, header: I18n.t('settings.fields.key') column :value, header: I18n.t('settings.fields.value') column :image, header: I18n.t('settings.fields.image'), html: true do |post| if post.image? image_tag post.image.url else "--" end end column :activated, header: I18n.t('settings.fields.activated') include Admix::TableActions end
Version data entries
4 entries across 4 versions & 2 rubygems