Sha256: 938c860e942f7b14f59e377f5bebecd38bf9eebba114ffd929be81ae70733570
Contents?: true
Size: 324 Bytes
Versions: 1
Compression:
Stored size: 324 Bytes
Contents
module FieldTypes module Core class AssetCell < FieldTypes::Core::Cell def input render end private def render_label @options[:form].label 'data[asset]', field.name end def render_input @options[:form].file_field 'data[asset]' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cortex-field_types-core-0.2.1 | app/cells/field_types/core/asset_cell.rb |