Added Fluxnet Site

This commit is contained in:
2016-01-18 13:45:43 -05:00
parent 048327666f
commit 2c73fb6883
12 changed files with 43 additions and 102 deletions
@@ -27,7 +27,4 @@
}
}
@Html.TextBox(
"",
ViewData.TemplateInfo.FormattedModelValue,
htmlAttributes)
@Html.TextBox("", ViewData.TemplateInfo.FormattedModelValue, htmlAttributes)
@@ -2,16 +2,6 @@
@model int?
@{
int i;
if (!Model.HasValue)
{
i = 0;
}
else
{
i = Model.Value;
}
var htmlAttributes = new RouteValueDictionary();
if (ViewBag.@class != null)
{
@@ -3,14 +3,7 @@
@{
float f;
if (!Model.HasValue)
{
f = 0.0f;
}
else
{
f = Model.Value;
}
f = !Model.HasValue ? 0.0f : Model.Value;
}
<div class="form-group@(Html.ValidationErrorFor(m => m, " has-error"))">
@@ -22,5 +22,4 @@
}
}
@Html.TextBox("", ViewData.TemplateInfo.FormattedModelValue, htmlAttributes)
@Html.TextBox("", ViewData.TemplateInfo.FormattedModelValue, htmlAttributes)
@@ -11,10 +11,8 @@
}
<div class="form-group @lowerPropertyName">
@Html.LabelForModel(new { @class = "control-label" })
<div class="controls">
@RenderBody()
@Html.ValidationMessage("", new { @class = "help-block"})
</div>
@RenderBody()
@Html.ValidationMessage("", new { @class = "help-block"})
</div>