Sprankelprachtig aan/afmeldsysteem

home.html.haml 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .container
  2. .row
  3. - if @need_response.any?
  4. .col-md.12
  5. .panel.panel-default
  6. .panel-heading
  7. Need response
  8. .panel-body
  9. %table.table.table-bordered
  10. %thead
  11. %tr
  12. %th
  13. Name
  14. %th
  15. Group
  16. %th
  17. When
  18. %th
  19. Where
  20. %th
  21. Actions
  22. %tbody
  23. - @need_response.each do |e|
  24. %tr
  25. %td
  26. - if e.secret_name && e.participants.first.is_organizer
  27. = e.secret_name
  28. = e.public_name
  29. %td
  30. = e.group.name
  31. %td
  32. = e.start
  33. %td
  34. = e.location
  35. %td
  36. .col-md-6
  37. .panel.panel-default
  38. .panel-heading
  39. Groups
  40. .panel-body
  41. %table.table.table-bordered
  42. %tbody
  43. - current_person.groups.each do |group|
  44. %tr
  45. %td
  46. = link_to group do
  47. = group.name
  48. .col-md-6
  49. TODO