Lidarr/NzbDrone.Web/Views/Series/SingleSeason.cshtml

20 lines
726 B
Plaintext

@using NzbDrone.Web.Helpers;
@using NzbDrone.Web.Models;
@model SeasonEditModel
@using (Html.BeginCollectionItem("SeasonEditor"))
{
var idClean = ViewData.TemplateInfo.HtmlFieldPrefix.Replace('[', '_').Replace(']', '_');
<fieldset style="display: inline; border-color: lightgrey; width: 20%; margin-bottom: 2px; margin-right: 0px; margin-left: 0px; padding-bottom: 1px; padding-top: 1px;">
@Html.DisplayFor(m => m.SeasonString)
<span style="float: right;">@Html.CheckBoxFor(m => m.Monitored, new { @class = "chkbox" })</span>
@Html.HiddenFor(m => m.SeriesId)
@Html.HiddenFor(m => m.SeasonNumber)
@Html.Hidden(idClean, new { @class = "cleanId", })
</fieldset>
}