Created
March 4, 2015 23:03
-
-
Save Jazzeroki/edb2de61f13b34d93909 to your computer and use it in GitHub Desktop.
How to create a form and specify a model to build to
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@using (Html.BeginForm("Index", "Index", FormMethod.Post, new PowerteqDTReport.Models.IndexSystemUptime())) { | |
<div class="row"> | |
<div class="col-sm-3"><p><h3>Start Date/Time</h3></p><p><h5>example 3/4/2015 6:00 am</h5></p><p>start date/time box @Html.EditorFor(l=> l.</p></div> | |
<div class="col-sm-3"><p><h3>End Date/Time</h3></p><p><h5>example 3/4/2015 8:00 am</h5></p><p>start date/time box</p></div> | |
</div> | |
<div class="row"> | |
<div class="col-sm-3">Submit Button</div> | |
</div> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment