.row
  .col-md-11
    %h1
      = event
      %small= event.status
  .col-md-1
    .share.pull-right= event.tweet_button
  .col-md-8
    .markdown
      - if event.closed?
        Closed on
        %strong= event.closes_at(:long_with_zone)
      = markdown(event.guidelines)
  .col-md-4
    - if event.open?
      %p= link_to 'Submit a proposal', new_proposal_path(slug: event.slug), class: 'btn btn-primary'
      - if event.closes_at?
        %p
          Closes at
          %strong= event.closes_at(:long_with_zone)
        %p
          %strong
            = time_ago_in_words(event.closes_at)
            left
          to submit your proposal!
    - if event.proposals.count > 5
      .stats
        %h2 CFP Stats
        = pluralize(event.proposals.count, 'proposal')
        = event.line_chart

.row
  .col-md-11
    %h1
      = event
      %small= event.status
  .col-md-1
    .share.pull-right= event.tweet_button
  .col-md-8
    .markdown
      - if event.closed?
        Closed on
        %strong= event.closes_at(:long_with_zone)
      = markdown(event.guidelines)
  .col-md-4
    - if event.open?
      %p= link_to 'Submit a proposal', new_proposal_path(slug: event.slug), class: 'btn btn-primary'
      - if event.closes_at?
        %p
          Closes at
          %strong= event.closes_at(:long_with_zone)
        %p
          %strong
            = time_ago_in_words(event.closes_at)
            left
          to submit your proposal!
    -# - if event.proposals.count > 5
    -#   .stats
    -#     %h2 CFP Stats
    -#     = pluralize(event.proposals.count, 'proposal')
    -#     = event.line_chart

Hide CFP stats from event page
Hide CFP stats from event page
