nav.actions
  ul
    li = link_to icon('plus', 'New Conference'), new_conference_path, class: 'btn btn-small' if can? :create, Conference.new

h1.header
  / = icon('group')
  span Conferences

table.table.table-striped.table-bordered.table-condensed.conferences
  tr
    th = sortable 'name', 'Conference'
    th = sortable 'location', 'Location'
    th = sortable 'starts_on', 'Date'
    th Attendees
    th Tickets left

  - conferences.each do |conference|
    tr
      td = link_to conference.name, conference
      td = conference.location
      td = format_conference_date(conference.starts_on, conference.ends_on)
      td = conference.attendees.any? ? links_to_attendances(conference).join(', ').html_safe : '-'
      td = conference.tickets_left

p = link_to "View as Calendar", calendar_path

nav.actions
  ul
    li = link_to icon('plus', 'New Conference'), new_conference_path, class: 'btn btn-small' if can? :create, Conference.new

h1.header
  / = icon('group')
  span Conferences (2nd round)

table.table.table-striped.table-bordered.table-condensed.conferences
  tr
    th = sortable 'name', 'Conference'
    th = sortable 'location', 'Location'
    th = sortable 'starts_on', 'Date'
    th Attendees
    th Tickets left

  - Conference.where(round: 2).each do |conference|
    tr
      td = link_to conference.name, conference
      td = conference.location
      td = format_conference_date(conference.starts_on, conference.ends_on)
      td = conference.attendees.any? ? links_to_attendances(conference).join(', ').html_safe : '-'
      td = conference.tickets_left

p = link_to "View as Calendar", calendar_path
p = link_to "Show/Hide First Round Conferences", "#", onclick: "$('.first-conferences').toggle()"

.first-conferences style='display:none;'
  h1.header
    / = icon('group')
    span Conferences (1st round)
  table.table.table-striped.table-bordered.table-condensed.conferences
    tr
      th = sortable 'name', 'Conference'
      th = sortable 'location', 'Location'
      th = sortable 'starts_on', 'Date'
      th Attendees
      th Tickets left

    - Conference.where(round: 1).each do |conference|
      tr
        td = link_to conference.name, conference
        td = conference.location
        td = format_conference_date(conference.starts_on, conference.ends_on)
        td = conference.attendees.any? ? links_to_attendances(conference).join(', ').html_safe : '-'
        td = conference.tickets_left

Split conferences into two tables for each round
Split conferences into two tables for each round

The first round conferences will only be shown with a link to toggle
them

ramonh/rgsoc-teams,TeamCheesy/rgsoc-teams,michaelem/rgsoc-teams,ramonh/rgsoc-teams,TeamCheesy/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,beanieboi/rgsoc-teams,beanieboi/rgsoc-teams,beanieboi/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,ramonh/rgsoc-teams,michaelem/rgsoc-teams,michaelem/rgsoc-teams,TeamCheesy/rgsoc-teams