Migrate to bootstrap 4 in LeafWeb
This commit is contained in:
@@ -12,40 +12,7 @@
|
||||
var hasErrorClass = hasError ? "has-error" : string.Empty;
|
||||
}
|
||||
<div class="form-group @lowerPropertyName @hasErrorClass">
|
||||
@Html.LabelForModel(new { @class = "control-label" })
|
||||
@Html.LabelForModel()
|
||||
@RenderBody()
|
||||
@Html.ValidationMessage("", new { @class = "help-block"})
|
||||
@Html.ValidationMessage("", new { @class = "form-text"})
|
||||
</div>
|
||||
|
||||
|
||||
@*<div class="form-group @lowerPropertyName">
|
||||
@if (editLabel)
|
||||
{
|
||||
@Html.LabelForModel()
|
||||
}
|
||||
<div class="input-group">
|
||||
@if (!string.IsNullOrEmpty(units))
|
||||
{
|
||||
<div class="input-append">
|
||||
@RenderBody()
|
||||
<span class="add-on">@units</span>
|
||||
</div>
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(currency))
|
||||
{
|
||||
<div class="input-prepend">
|
||||
<span class="add-on">@currency</span>
|
||||
@RenderBody()
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
@RenderBody()
|
||||
}
|
||||
@if (!string.IsNullOrEmpty(formatHint))
|
||||
{
|
||||
<div><small><em>@formatHint</em></small></div>
|
||||
}
|
||||
<span class="help-block">@Html.ValidationMessage("")</span>
|
||||
</div>
|
||||
</div>*@
|
||||
|
||||
Reference in New Issue
Block a user