Class: Formtastic::Inputs::JcropableInput
- Inherits:
-
FileInput
- Object
- FileInput
- Formtastic::Inputs::JcropableInput
- Includes:
- Base
- Defined in:
- lib/formtastic/inputs/jcrop_input.rb
Constant Summary collapse
- VALID_OPTIONS =
%i( aspectRatio minSize maxSize setSelect bgColor bgOpacity boxWidth boxHeight onSelect onChange onRelease showDimensions )
Instance Method Summary collapse
Instance Method Details
#to_html ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/formtastic/inputs/jcrop_input.rb', line 21 def to_html input_wrapping do label_html << builder.file_field(method, ) << jcrop_feature end end |