Class: Formtastic::Inputs::JcropableInput

Inherits:
FileInput
  • Object
show all
Includes:
Base
Defined in:
lib/formtastic/inputs/jcrop_input.rb

Instance Method Summary collapse

Instance Method Details

#to_htmlObject



6
7
8
9
10
11
12
# File 'lib/formtastic/inputs/jcrop_input.rb', line 6

def to_html
  input_wrapping do
    label_html <<
    builder.file_field(method, input_html_options) <<
    jcrop_feature
  end
end