Sha256: 9af13af1bda7f6063e136d0d1a773a6d501ccd14245bc71fe10bd1c68d1b82ae
Contents?: true
Size: 425 Bytes
Versions: 11
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true 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