Mineplex2018-withcommit/Website/LOC.Website.Web/Areas/Manage/Views/GameSalesPackage/Edit.cshtml
Jonathan Williams 3fb52c5c71 Initial Commit
2013-08-27 08:14:08 -07:00

60 lines
1.6 KiB
Plaintext

@model LOC.Core.Model.Sales.GameSalesPackage
@{
ViewBag.Title = "Edit";
}
<h2>Edit</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm()) {
@Html.ValidationSummary(true)
<fieldset>
<legend>GameSalesPackage</legend>
@Html.HiddenFor(model => model.GameSalesPackageId)
<div class="editor-label">
@Html.LabelFor(model => model.Tokens)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Tokens)
@Html.ValidationMessageFor(model => model.Tokens)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.Credits)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Credits)
@Html.ValidationMessageFor(model => model.Credits)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.Points)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Points)
@Html.ValidationMessageFor(model => model.Points)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.Free)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Free)
@Html.ValidationMessageFor(model => model.Free)
</div>
<p>
<input type="submit" value="Save" />
</p>
</fieldset>
}
<div>
@Html.ActionLink("Back to List", "Index")
</div>