Sha256: 890b08a704c0c27d5f3b266f94f7bac5bf3966c7ebbdf7888e49ca31b60e62dc

Contents?: true

Size: 336 Bytes

Versions: 5

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true
module Eac
  module CommonFormHelper
    class FormBuilder
      module FileField
        def file_field(field_name, options = {})
          options = options.dup
          field(field_name, options) do
            form.file_field(field_name, options)
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
eac_rails_utils-0.8.0 lib/eac/common_form_helper/form_builder/file_field.rb
eac_rails_utils-0.7.1 lib/eac/common_form_helper/form_builder/file_field.rb
eac_rails_utils-0.7.0 lib/eac/common_form_helper/form_builder/file_field.rb
eac_rails_utils-0.6.0 lib/eac/common_form_helper/form_builder/file_field.rb
eac_rails_utils-0.5.0 lib/eac/common_form_helper/form_builder/file_field.rb