SeasonEditor moved to Gird Editor.

This commit is contained in:
Mark McDowall 2011-06-04 22:23:50 -07:00
commit 08b7b8c3e1
10 changed files with 90 additions and 83 deletions

View file

@ -19,6 +19,10 @@ namespace NzbDrone.Web.Helpers
string.Format("<input type=\"hidden\" name=\"{0}.index\" autocomplete=\"off\" value=\"{1}\" />",
collectionName, itemIndex));
html.ViewContext.Writer.WriteLine(
string.Format("<input type=\"hidden\" name=\"{0}_collection\" autocomplete=\"off\" value=\"{1}\" />",
collectionName, itemIndex));
return BeginHtmlFieldPrefixScope(html, string.Format("{0}[{1}]", collectionName, itemIndex));
}