Sha256: 7478630c4125109d75c23b0129b2ed3325a41bc491e3215999591e48f5e6e14a

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

require 'railsstrap/core_ext/rails/form/base_helper'

module Railsstrap
  module Form
    module FileFieldHelper
      include BaseHelper

      def file_field(method, options={})
        base_field method, :file, options do
          super method, options
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
railsstrap-4.0.0.beta3 lib/railsstrap/core_ext/rails/form/file_field_helper.rb
railsstrap-4.0.0.beta2 lib/railsstrap/core_ext/rails/form/file_field_helper.rb