Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit 18a2ca1

Browse files
committed
Make EditSession use AlertPartial
1 parent 73a7035 commit 18a2ca1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/FrontEnd/Pages/Admin/EditSession.cshtml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33

44
<h3>Edit Session</h3>
55

6-
@if (Model.ShowMessage)
7-
{
8-
<div class="alert alert-success alert-dismissible" role="alert">
9-
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
10-
@Model.Message
11-
</div>
12-
}
6+
<partial name="_AlertPartial" model="(Model.ShowMessage, Model.Message)" />
137

148
<form method="post" class="form-horizontal">
159
<div asp-validation-summary="All" class="text-danger"></div>

0 commit comments

Comments
 (0)