0
<% column_div :type => :primary do -%>
0
- <%= render :partial => @event %>
0
+ <ul class="list full">
0
+ <%= render :partial => @event %>
0
+ <h2>People attending this event</h2>
0
+ <% unless @attendees.empty? -%>
0
+ <% paginated_section @attendees do %>
0
+ <ul class="grid contacts medium">
0
+ <%- @attendees.each do |attendee| -%>
0
+ <li class="vcard attendee">
0
+ <%= image_link attendee, :image_options => { :class => "photo" },
0
+ :link_options => { :class => "url" },
0
+ :image => :bounded_icon %>
0
+ This event doesn't have any attendees yet.
0
+ <%- unless @event.comments.empty? -%>
0
+ <h2 id="comments">Comments</h4>
0
+ <ul class="list comments full">
0
+ <%= render :partial => 'comment', :collection => @event.comments %>
0
+ <h4>Leave a comment</h4>
0
+ <% form_for :comment, :url => event_comments_path(@event),
0
+ :html => { :id => "eventcomment" } do |f| %>
0
+ <div class="form_row">
0
+ <%= f.text_area :body, :rows => 10 %>
0
+ <div class="form_row">
0
+ <%= submit_tag "Submit", :class => "button" %>
0
<% column_div :type => :secondary do -%>
Comments
No one has commented yet.