Location component splash view

This commit is contained in:
Gopesh Tulsyan 2014-06-14 18:49:10 +05:30
parent f5c5e6a44b
commit f0b6c32a54
5 changed files with 63 additions and 2 deletions

View file

@ -5,7 +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?
- unless @venue.photo.blank?
= image_tag @venue.photo(:thumb)
= f.input :photo
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}