anchor.diff:  extends ../layout
   
  -// title: String,
  -//  description: String,
  -//  date: Date,
  -//  town: townModel,
  -//  user: userModel,
  -//  comments: [commentModel],
  -//  rating: [ratingModel]
  +block js
  +  script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js')
  +  script(src='/js/join-event-btn.js')
   
   block content
     h1
  
positive.code:       | Description:&nbsp;
        = event.description
  
      a.btn.btn-success.col-sm-3(class='button', href='/events/' + event.id + '/join') Join
  
    .col-sm-6
      img(src='#{event.image}' class='img-thumbnail')
  
negative.code:                 a(href="/users/" + comment.userId)= comment.username
              .panel-body= comment.content
              hr
      h1 Users:
        .row
          hr
          ul
            each user in event.users
              .panel.panel-default
                .panel-heading User:
                  strong
                    a(href="/users/" + user.userId)= user.username
                hr
  