Bike!Bike! Website!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
297 B

= image_tag (@value || 'http://placehold.it/300x300&text=Click%20to%20upload%20an%20Image')
- if @form
-# = @form.hidden_field (@name.to_s + '_cache')
= @form.file_field @name, {:no_wrapper => true}
- else
= file_field_tag @name, {:no_wrapper => true}
= hidden_field_tag (@name.to_s + '_cache')