mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 13:40:13 +01:00
CreateDatabase
Nic nie działa bo wszystko jest inne XDD
This commit is contained in:
@@ -29,12 +29,12 @@
|
||||
@foreach (var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>@item.Name</td>
|
||||
<td>@item.Place</td>
|
||||
<td>@item.Date.ToString("yyyy-MM-dd HH:mm")</td>
|
||||
<td>@item.Title</td>
|
||||
<td>@item.Location</td>
|
||||
<td>@item.EventDate.ToString("yyyy-MM-dd HH:mm")</td>
|
||||
<td>
|
||||
<form asp-action="Delete" asp-controller="Events" method="post" style="display:inline;">
|
||||
<input type="hidden" name="id" value="@item.Id" />
|
||||
<input type="hidden" name="id" value="@item.EventId" />
|
||||
<button type="submit" class="btn btn-danger" onclick="return confirm('Na pewno chcesz usunąć to wydarzenie?')">Usuń</button>
|
||||
</form>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user