%h2
  = t('.title')

%section.event-register

  - if can? :register, @event
    = link_to t('.button'), new_event_participant_path(@event), :class => 'btn btn-success large main'

- if can? :register, @event
  %h2
    = t('.title')

  %section.event-register
    = link_to t('.button'), new_event_participant_path(@event), :class => 'btn btn-success large main'

Hide registration text if user can't register
Hide registration text if user can't register
