<h1 class="page-header">Registration</h1>

<div class="book-details">
    <div>
        <div class="book-details-btn-grid">
            <a class="btn btn-primary book-details-author-button" href="/customers/<%= registration.customer.id %>">View
                Customer</a>
        </div>
        <div class="book-details-btn-grid">
            <a class="btn btn-primary book-details-author-button" href="/events/<%= registration.event.id %>">View
                Event</a>
        </div>
    </div>
    <div class="book-details-grid">
        <div class="book-details-label">Registration ID:</div>
        <div>
            <%= registration.regID %>
        </div>
        <div class="book-details-label"> Customer:</div>
        <div>
            <%= registration.customer.fullName %>
        </div>
        <div class="book-details-label"> Event:</div>
        <div>
            <%= registration.event.name %>
        </div>
    </div>
</div>