Guest User

Untitled

a guest
Apr 24th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <div class="floatLeft width25">
  2. <!-- Left thumbnail column -->
  3. <% unless @time_slot.meetings.empty?
  4. puts "<h3>Other Meetings:</h3>"
  5. @time_slot.meetings.each do |meeting|
  6. unless meeting.id == @meeting_id
  7. puts meeting.meeting_date_f
  8. end
  9. end
  10. else
  11. puts "<p>No other meetings</p>"
  12. end%>
  13.  
  14. <!-- Left thumbnails end -->
  15. </div>
  16. <!-- Left thumbnails end -->
  17. <!-- Right column -->
  18. <div class="floatRight width75">
  19. <h1><%= attendance_event(@boot_camp,@my_meeting,@time_slot) %></h1>
  20. <% if @potential_users.empty? %>
  21. <p>There are no potential users for
  22. the time slot from <%= @time_slot.start_to_finish %></p>
  23. <% else %>
  24. <% form_for :attendees,
  25. :url => {:action => 'take_attendance'} do |f| %>
  26. <%= hidden_field_tag 'meeting_id', @my_meeting.id %>
  27. <%= render :partial => "attendee",
  28. :collection => @potential_users %>
  29. <p>
  30. <%= f.submit "Update" %>
  31. </p>
  32. <% end %>
  33. <% end %>
  34.  
  35. <%= link_to "Return to meetings for #{@boot_camp.title}",
  36. boot_camp_time_slot_url(@boot_camp.id,@my_meeting.time_slot) %>
  37. </div>
Add Comment
Please, Sign In to add comment