rearrange input page

This commit is contained in:
2016-02-21 22:50:31 -05:00
parent a9b6c026ad
commit c2562949ec
+11 -11
View File
@@ -13,17 +13,7 @@
<div class="row">
<div class="col-md-7 well">
@using (Html.BeginForm("Index", "LeafInput", FormMethod.Post))
{
@Html.Partial("_ValidationSummary")
@Html.EditorFor(m => m.Name)
@Html.EditorFor(m => m.Email)
@Html.EditorFor(m => m.EmailConfirm)
@Html.EditorFor(m => m.Identifier)
@Html.EditorFor(m => m.SiteId)
@Html.EditorFor(m => m.PhotosynthesisType)
<input type="submit" id="submit-form" class="hidden" />
}
@Html.Partial("_ValidationSummary")
<!-- The file upload form used as target for the file upload widget -->
<form id="fileupload" action="/Backload/FileHandler" method="POST" enctype="multipart/form-data">
<label class="control-label">Files</label>
@@ -58,6 +48,16 @@
<!-- The table listing the files available for upload/download -->
<table role="presentation" class="table table-striped panel panel-default"><tbody class="files"></tbody></table>
</form>
@using (Html.BeginForm("Index", "LeafInput", FormMethod.Post))
{
@Html.EditorFor(m => m.PhotosynthesisType)
@Html.EditorFor(m => m.Identifier)
@Html.EditorFor(m => m.SiteId)
@Html.EditorFor(m => m.Name)
@Html.EditorFor(m => m.Email)
@Html.EditorFor(m => m.EmailConfirm)
<input type="submit" id="submit-form" class="hidden" />
}
<label for="submit-form" class="btn btn-primary pull-right">Submit...</label>
</div>
</div>