Adds photo to venue
This commit is contained in:
parent
b94ee7e758
commit
f5c5e6a44b
6 changed files with 24 additions and 2 deletions
|
|
@ -5,4 +5,7 @@
|
|||
= f.input :address, :input_html => {:rows => 1}
|
||||
= f.input :website
|
||||
= f.input :description, :input_html => { :rows => 10, :cols => 20 }
|
||||
- if !@venue.photo.blank?
|
||||
= image_tag @venue.photo(:thumb)
|
||||
= f.input :photo
|
||||
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue