<% if @event.registration_enabled?%>
  <% if !current_user.nil? && current_user.verified? && @event.registered?(current_user)%>
    <p>
      <%=link_to event_event_registration_path(@event, @registration), :class => "btn btn-danger btn-lg",  :method => :delete do%>
      <span class="fa fa-play-circle"></span> Unregister
      <%end%>
    </p>
  <%else%>
    <% if current_user != nil %>
      <p>
        <%=link_to new_event_event_registration_path(@event), :class => "btn btn-success btn-lg" do%>
          <span class="fa fa-play-circle"></span> Register Now
        <%end%>
      </p>
    <%else%>
      <p>
        <%=link_to signin_path(@event.id), :class => "btn btn-success btn-lg" do%>
          <span class="fa fa-play-circle"></span> Sign In And Register Now
        <%end%>
      </p>
    <%end%>
    <p>
    Register by <%=l @event.registration_end_dt, format: :long%>.
    </p>
  <%end%>
  <p>
    <em><%=@event.registrations_remaining%> of <%=@event.registration_maximum%> spots remain. </em>
  </p>
<%end%>
<% if @event.registration_enabled?%>
  <% if !current_user.nil? && current_user.verified? && @event.registered?(current_user)%>
    <p>
      <%=link_to event_event_registration_path(@event, @registration), :class => "btn btn-danger btn-lg",  :method => :delete do%>
      <span class="fa fa-play-circle"></span> Unregister
      <%end%>
    </p>
  <%else%>
    <% if current_user != nil %>
      <p>
        <%=link_to new_event_event_registration_path(@event), :class => "btn btn-success btn-lg" do%>
          <span class="fa fa-play-circle"></span> Register Now
        <%end%>
      </p>
    <%else%>
      <p>
        <%=link_to signin_path(@event.id), :class => "btn btn-success btn-lg" do%>
          <span class="fa fa-play-circle"></span> Sign In And Register Now
        <%end%>
      </p>
    <%end%>
    <p>
    Register by <%=l @event.registration_end_dt, format: :long%>.
    </p>
  <%end%>
  <p>
    <em><%=@event.registrations_remaining%> of <%=@event.registration_maximum%> spots remain. </em>
  </p>
<% else %>
<p class="text-danger">
  Registration for this event is closed.
</p>
<%end%>
Add message when event registration is closed.
Add message when event registration is closed.

Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>