Sha256: 375ded14bcbd7f13d8fee967bde072b2522ec8d85f384e3326980d16e7f36419
Contents?: true
Size: 394 Bytes
Versions: 11
Compression:
Stored size: 394 Bytes
Contents
module Uploader module Helpers module FormBuilder # Render uploader field # Usage: # # <%= form_for @article do |f| %> # <%= f.uploader_field :picture %> # <%= end %> # def uploader_field(method, options = {}) @template.send(:uploader_field_tag, @object_name, method, objectify_options(options)) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems