Mineplex2018-withcommit/Website/Nautilus.Web.Impulse/Areas/Manage/Views/GameSalesPackage/Edit.cshtml

60 lines
1.6 KiB
Plaintext
Raw Normal View History

2013-08-27 17:14:08 +02:00
@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>