Skip to content

Commit

Permalink
Merge pull request andreapavoni#1 from stefanoverna/patch-1
Browse files Browse the repository at this point in the history
Fixed typo in README.md
  • Loading branch information
andreapavoni committed Feb 19, 2012
2 parents 68b5afd + 52e10ef commit 39d5acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Here's a basic example, as you can see, it's just a matter of specify the input
<%= simple_form_for @some_model do |f| %>
<!-- we specify that this is an image form upload input, and we want to show the 'thumb' version
of the carrierwave upload to not break our layout with a non-resized image -->
<%= f.input :some_image_field, as: image_preview:, input_html: {preview_size: :thumb} %>
<%= f.input :some_image_field, as: :image_preview, input_html: {preview_size: :thumb} %>
<!-- here's a *normal* attachment. with this input, a link to the filename will be shown
if there's an uploaded file -->
Expand Down

0 comments on commit 39d5acd

Please sign in to comment.