@model MemberCenter.Web.Models.Admin.NewsletterListFormViewModel

<div class="admin-page-title">
  <h1>@L["Edit Newsletter"]</h1>
</div>

<form method="post" class="admin-form-panel">
  @Html.AntiForgeryToken()
  <label>@L["Tenant ID"]</label>
  <select asp-for="TenantId">
    <option value="">@L["Select a tenant"]</option>
@foreach (var tenant in Model.Tenants)
{
    <option value="@tenant.Id">@tenant.Name</option>
}
  </select>
  <span asp-validation-for="TenantId"></span>

  <label>@L["Name"]</label>
  <input asp-for="Name" />
  <span asp-validation-for="Name"></span>

  <label>@L["Status"]</label>
  <input asp-for="Status" />
  <span asp-validation-for="Status"></span>

  <div class="profile-form-actions">
    <a class="profile-pill-link" asp-action="Index">@L["Cancel"]</a>
    <button type="submit" class="profile-pill-button">@L["Save"]</button>
  </div>
</form>
