Add purpose editing

This commit is contained in:
2013-03-07 19:28:00 -05:00
parent ff0b18a9fd
commit 8662b6ad7e
12 changed files with 236 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
@model MileageTraker.Web.Models.PurposeType
@{
ViewBag.Title = "Create Purpose";
}
<h2 class="center-content">@ViewBag.Title</h2>
@using (Html.BeginForm("Create", "Purpose", FormMethod.Post, new { @class = "form-horizontal well center-content" }))
{
@Html.Partial("_ValidationSummary")
<fieldset>
<legend></legend>
@Html.EditorForModel()
<div class="form-actions">
<input type="submit" value="Create" class="btn btn-primary" />
</div>
</fieldset>
}