Class: RichAssetInput
- Inherits:
-
Formtastic::Inputs::StringInput
- Object
- Formtastic::Inputs::StringInput
- RichAssetInput
- Defined in:
- app/inputs/rich_asset_input.rb
Instance Method Summary collapse
-
#input_html_options ⇒ Object
todo: differentiate between rich_asset and rich_asset_url where the former links an object and the latter returns a url string ?.
Instance Method Details
#input_html_options ⇒ Object
todo: differentiate between rich_asset and rich_asset_url where the former links an object and the latter returns a url string ?
10 11 12 13 14 |
# File 'app/inputs/rich_asset_input.rb', line 10 def = super [:class] = [[:class], "rich_asset"].compact.join(' ') end |