@using System.Collections @using NzbDrone.Web.Models @using System.Web.Mvc.Html @model ExistingSeriesModel @{ Layout = null; } @if (Model.ExistingSeries.Count == 0) {

No series available. Try adding a new Root Folder.

} else { @Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector masterQualitySelector" }) foreach (var series in Model.ExistingSeries) {
@Html.Label(series.Item1)
@Html.Hidden("seriesId", series.Item3, new { @class = "seriesId" }) @Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector" })
} }