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
@@ -7,20 +7,27 @@
var editLabel = (bool)ViewData.ModelMetadata.AdditionalValues["EditLabel"];
}
<div class="editor-field-container @lowerPropertyName">
<div class="control-group @lowerPropertyName">
@if (editLabel) {
<div class="editor-label">
<div class="control-label">
@Html.LabelForModel()
</div>
}
<div class="editor-field">
@RenderBody()
@if (!string.IsNullOrEmpty(units)) {
<span class="units">@units</span>
}
<div class="controls">
@if (!string.IsNullOrEmpty(units))
{
<div class="input-append">
@RenderBody()
<span class="add-on">@units</span>
</div>
}
else
{
@RenderBody()
}
@if (!string.IsNullOrEmpty(formatHint)) {
<div class="format-hint">@formatHint</div>
<div><small><em>@formatHint</em></small></div>
}
@Html.ValidationMessage("")
<span class="help-inline">@Html.ValidationMessage("")</span>
</div>
</div>