Add currency attribute

This commit is contained in:
2015-10-08 14:17:30 -04:00
parent 13fc366dc5
commit 6482955b3c
7 changed files with 79 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
@model MileageTraker.Web.ViewModels.VehicleService.VehicleServiceViewModel
@{
ViewBag.Title = "Vehicle Service Details" ;
}
@Html.Partial("_StatusMessage")
<h2 class="center-content"><i class="fa fa-wrench"></i> @ViewBag.Title</h2>
<div class="center-content well">
@Html.DisplayForModel()
</div>
<div class="center-content btn-toolbar">
@Html.ActionLink("Edit", "Edit", new { id = Model.VehicleServiceId }, new { @class = "btn" })
</div>
+21
View File
@@ -0,0 +1,21 @@
@model MileageTraker.Web.ViewModels.VehicleService.VehicleServiceViewModel
@{
ViewBag.Title = "Edit Vehicle Service";
}
@Html.Partial("_StatusMessage")
<h2 class="center-content"><i class="fa fa-wrench"></i> @ViewBag.Title</h2>
@using (Html.BeginForm("Edit", "VehicleService", 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="Save" class="btn btn-primary" />
</div>
</fieldset>
}