.row
  .col-md-11
    %h1
      = event
      %small= event.status
  .col-md-1
    .share.pull-right= event.tweet_button
  .col-md-8
    - if event.past_open? || event.open?
      = markdown(event.guidelines)
    - elsif event.closes_at?
      %p
        Closed at
        %strong= event.closes_at(:long_with_zone)
  .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
    - if event.past_open? || event.open?
      = markdown(event.guidelines)
    - elsif event.closes_at?
      %p
        Closed at
        %strong= event.closes_at(:long_with_zone)
    The biggest Rails event of the year, Rails Conf, is coming to Australia for the first time.
    This September in Sydney, hundreds of the best will meet to talk, learn and share knowledge about Rails in the real world.
    %p
    Call for proposals for talks focused on the practical, operations and business aspects of Rails can be submitted here by clicking on the green "Submit a proposal" button.
  .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

Add text to home page
Add text to home page
