aboutsummaryrefslogtreecommitdiff
path: root/src/Enmarcha.Backend/Views/Alerts/Edit.cshtml
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-04-02 12:38:10 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2026-04-02 12:45:33 +0200
commit1b4f4a674ac533c0b51260ba35ab91dd2cf9486d (patch)
tree9fdaf418bef86c51737bcf203483089c9e2b908b /src/Enmarcha.Backend/Views/Alerts/Edit.cshtml
parent749e04d6fc2304bb29920db297d1fa4d73b57648 (diff)
Basic push notification system for service alerts
Co-authored-by: Copilot <copilot@github.com>
Diffstat (limited to 'src/Enmarcha.Backend/Views/Alerts/Edit.cshtml')
-rw-r--r--src/Enmarcha.Backend/Views/Alerts/Edit.cshtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Enmarcha.Backend/Views/Alerts/Edit.cshtml b/src/Enmarcha.Backend/Views/Alerts/Edit.cshtml
index 57e853d..63852d7 100644
--- a/src/Enmarcha.Backend/Views/Alerts/Edit.cshtml
+++ b/src/Enmarcha.Backend/Views/Alerts/Edit.cshtml
@@ -57,6 +57,8 @@
</a>
</div>
+<div asp-validation-summary="ModelOnly" class="alert alert-danger"></div>
+
<form action="@formAction" method="post" novalidate>
@Html.AntiForgeryToken()
@if (!isCreate)
@@ -407,7 +409,7 @@
}
for (const a of agencies) el.appendChild(makeTransitItem(a.selector, () =>
`<i class="bi bi-building me-2"></i><span class="flex-grow-1">${escHtml(a.name)}</span>` +
- `<code class="text-muted small">${escHtml(a.feedId)}</code>`
+ `<code class="text-muted small">${escHtml(a.agencyGtfsId)}</code>`
));
}