clean up for mailing

This commit is contained in:
Paul Schneider 2021-06-03 15:12:29 +01:00
commit 72bf0f458d
14 changed files with 2934 additions and 116 deletions

View file

@ -10,7 +10,7 @@
<div class="form-horizontal">
<h4>MailingTemplate</h4>
<hr />
<div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
<div asp-validation-summary="ValidationSummary.All" class="text-danger"></div>
<div class="form-group">
<label asp-for="Id" class="control-label col-md-2">@SR["Id"]</label>
<div class="col-md-10">

View file

@ -39,7 +39,7 @@
@Html.DisplayNameFor(model => model.Topic)
</dt>
<dd>
@Html.DisplayFor(model => model.ShortName)
@Html.DisplayFor(model => model.Topic)
</dd>
<dt>
@Html.DisplayNameFor(model => model.ToSend)

View file

@ -16,7 +16,7 @@
<div class="form-group">
<label asp-for="Id" class="control-label col-md-2">@SR["Id"]</label>
<div class="col-md-10">
<select asp-for="Id" asp-items="@ViewBag.Id" class="form-control" >
<select name="Id" asp-for="Id" asp-items="@ViewBag.Id" class="form-control" >
</select>
<span asp-validation-for="Id" class="text-danger" ></span>
</div>