Admin auth functionally complete
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
ViewBag.Title = "Enter Mileage Log";
|
||||
}
|
||||
|
||||
@Html.Partial("_StatusMessage")
|
||||
|
||||
<h2 class="center-content">@ViewBag.Title</h2>
|
||||
|
||||
@using (Html.BeginForm("Index", "CreateLog", FormMethod.Post, new { @class = "form-horizontal well center-content" }))
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
@model MileageTraker.Web.ViewModels.CreateLog.CreateLogViewModel
|
||||
@{
|
||||
ViewBag.Title = "Success";
|
||||
}
|
||||
|
||||
<p class="alert alert-success center-content">
|
||||
You've successfully created an entry
|
||||
for <strong>@Html.DisplayTextFor(m => m.EmployeeName)</strong>
|
||||
traveling to <strong>@Html.DisplayTextFor(m => m.CityName)</strong>
|
||||
on <strong>@Html.Encode(Model.Date.ToShortDateString())</strong>
|
||||
in Vehicle Id <strong>@Html.DisplayTextFor(m => m.VehicleId)</strong>
|
||||
ending in <strong>@Html.DisplayTextFor(m => m.EndOdometer)</strong>
|
||||
miles on the odometer.
|
||||
</p>
|
||||
<p class="center-content">
|
||||
@Html.ActionLink("Create another", "Index", null, new { @class = "btn" })
|
||||
</p>
|
||||
Reference in New Issue
Block a user