22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# File 'lib/simple_form_attachments/attachment_input.rb', line 22
def input wrapper_options
template.content_tag :div, merge_wrapper_options(input_html_options, wrapper_options) do
template.concat attachment_blank_field
template.concat attachment_file_field
template.concat attachment_type_field
template.concat attachment_multiple_field
template.concat attachment_parent_class_field
template.concat attachment_parent_name_field
template.concat attachment_relation_key_field
template.concat attachment_relation_name_field
template.concat attachment_relation_class_field
template.concat attachment_list
template.concat handlebars_js_template
end
end
|