app/views/store/events/show.html.haml in artfully_ose-1.2.0 vs app/views/store/events/show.html.haml in artfully_ose-1.3.0.pre1
- old
+ new
@@ -1,7 +1,7 @@
- content_for :title do
- Buy tickets to #{@event.name}
+ Get tickets to #{@event.name}
.container#multi-show-container
#event-header
%h1#logo= @event.name
%h4= @event.subtitle
%h4= @event.producer
@@ -34,17 +34,10 @@
=simple_format "#{@event.description} (#{link_to 'less','#', :class => 'toggle'})"
- else
=simple_format @event.description
.side-section
=render :partial => "venue", :locals => { :event => @event }
- - unless @event.contact_email.blank? && @event.contact_phone.blank?
- #contact.side-section
- %h6 Contact
- - unless @event.contact_email.blank?
- = mail_to @event.contact_email
- <br />
- - unless @event.contact_phone.blank?
- = @event.contact_phone
+ =render :partial => "contact_info", :locals => {:event => @event}
#poster-modal.modal.hide.fade
.modal-body
= image_tag @event.image.url