@using System.Web.Mvc.Html @using ClientDependency.Core.Mvc @model LeafDataQuery @{ Html.RequiresJs("~/scripts/jquery.validate.min.js", 2); Html.RequiresJs("~/scripts/jquery.validate.unobtrusive.min.js", 2); Html.RequiresJs("~/scripts/jquery.validate.custom.js", 2); Html.RequiresJs("~/scripts/jquery.validate.unobtrusive.bootstrap.js", 2); Html.RequiresJs("~/scripts/LeafDataQuery.js", 3); var actionName = string.Empty; var controllerName = string.Empty; var htmlFormAction = string.Empty; if (ViewData.ContainsKey("actionName")) { actionName = (string)ViewData["actionName"]; } if (ViewData.ContainsKey("controllerName")) { controllerName = (string)ViewData["controllerName"]; } if (ViewData.ContainsKey("htmlFormAction")) { htmlFormAction = (string)ViewData["htmlFormAction"]; } } @using (Html.BeginUmbracoForm(actionName, controllerName, null, new { action = htmlFormAction, id = "leafdataquery" })) {
@Html.EditorFor(m => m.usr, new {@class = "click-submit", groupClass = "mb-0"})
@Html.EditorFor(m => m.siteid)
@Html.EditorFor(m => m.species)

@Html.EditorFor(m => m.lat, new {size = "small", append = "°"})
@Html.EditorFor(m => m.latr, new {size = "small", prepend = "±", append = "°"})
@Html.EditorFor(m => m.lon, new {size = "small", append = "°"})
@Html.EditorFor(m => m.lonr, new {size = "small", prepend = "±", append = "°"})

Curve Variation range minimum
@Html.EditorFor(m => m.co2s, new {size = "small", prepend = ">", append = "umol/m"})
@Html.EditorFor(m => m.pari, new {size = "small", prepend = ">", append = "umol/m2/s"})
@Html.EditorFor(m => m.tleaf, new {size = "small", prepend = ">", append = "oC"})
@Html.EditorFor(m => m.phips2, new {size = "small", prepend = ">"})

@Html.EditorFor(m => m.compl)
}