Sha256: b1135253e6cd4aa486878135d6f1647d975e2c4547a3269598c484e34901332c

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

module EgovUtils
  module Helpers
    module FormHelper

      # Returns an input tag of the "fileuid" type tailored for accessing a specified attribute (identified by +method+) on an object
      # assigned to the template (identified by +object+). Additional options on the input tag can be passed as a
      # hash with +options+.
      def fileuid_field(object_name, method, options = {})
        Tags::FileuidField.new(object_name, method, self, options).render
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
egov_utils-0.1.14 lib/egov_utils/helpers/form_helper.rb
egov_utils-0.1.13 lib/egov_utils/helpers/form_helper.rb