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
@@ -6,15 +6,15 @@
var color = ViewData.ModelMetadata.PropertyName == "Color" ? Model : "";
}
<div class="display-field-container @lowerPropertyName">
<div class="display-label">
@Html.LabelForModel()
</div>
<div class="display-field @color">
<dl class="dl-horizontal @lowerPropertyName">
<dt>
@Html.ViewData.ModelMetadata.DisplayName
</dt>
<dd @(!string.IsNullOrEmpty(color) ? "class='" + color + "'" : "") >
@RenderBody()
@if (!string.IsNullOrEmpty(units))
{
<span class="units">@units</span>
<small><em>@units</em></small>
}
</div>
</div>
</dd>
</dl>