From 4aced1f0730896128e9b8d68f9cacc00328b31ec Mon Sep 17 00:00:00 2001 From: Thiago Pinto Date: Thu, 6 Dec 2012 02:13:33 -0500 Subject: adding example for f.file_input --- actionpack/lib/action_view/helpers/form_helper.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index ce51585b87..be62cf70c6 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -834,6 +834,9 @@ module ActionView # file_field(:user, :avatar) # # => # + # file_field(:post, :image, :multiple => true) + # # => + # # file_field(:post, :attached, accept: 'text/html') # # => # -- cgit v1.2.3