-
Notifications
You must be signed in to change notification settings - Fork 0
/
InPersonGuests.cshtml
40 lines (39 loc) · 1.09 KB
/
InPersonGuests.cshtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@page
@model Opifex.Rsvp.Pages.InPersonGuestsModel
<style>
#mainCard {
width: 100% !important;
margin: 0 !important;
max-width: 100% !important;
}
</style>
<div class="alert alert-light" role="alert">
There are a total of @Model.Rows.Count() in person guests.
</div>
<table class="table">
<thead>
<tr>
<th>
Name
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model.Rows)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Name)
</td>
<td>
<form method="post">
<input type="hidden" asp-for="@item.Id" name="guestId" />
<button type="submit" asp-page-handler="Download" class="btn btn-outline-primary">Download Documentation</button>
<button type="submit" asp-page-handler="SendReminder" class="btn btn-outline-primary">Send Reminder</button>
</form>
</td>
</tr>
}
</tbody>
</table>