New style partially complete

This commit is contained in:
2012-12-12 15:32:03 -05:00
parent 86ee45c184
commit 14d8054f22
85 changed files with 10261 additions and 1081 deletions
+4 -4
View File
@@ -9,10 +9,10 @@
foreach (var li in listItems)
{
var fieldName = string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}_{1}", prefix.Replace('.', '_'), index++);
<span class="radiobutton">
@Html.RadioButton(prefix, li.Value, li.Selected, new { @id = fieldName })
@Html.Label(fieldName, li.Text)
</span>
<label class="radio">
@Html.RadioButton(prefix, li.Value, li.Selected, new { @id = fieldName })
@li.Text
</label>
}
ViewData.TemplateInfo.HtmlFieldPrefix = prefix;
}