@model UnicornStore.Models.Blessing @{ ViewBag.Title = "Create"; }

Create

@using (Html.BeginForm()) { @Html.AntiForgeryToken()

Blessing


@Html.ValidationSummary(true)
@Html.LabelFor(model => model.GenreId, "GenreId", new { @class = "control-label col-md-2" })
@Html.DropDownList("GenreId", String.Empty) @Html.ValidationMessageFor(model => model.GenreId)
@Html.LabelFor(model => model.UnicornId, "UnicornId", new { @class = "control-label col-md-2" })
@Html.DropDownList("UnicornId", String.Empty) @Html.ValidationMessageFor(model => model.UnicornId)
@Html.LabelFor(model => model.Title, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Title) @Html.ValidationMessageFor(model => model.Title)
@Html.LabelFor(model => model.Price, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Price) @Html.ValidationMessageFor(model => model.Price)
@Html.LabelFor(model => model.BlessingArtUrl, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.BlessingArtUrl) @Html.ValidationMessageFor(model => model.BlessingArtUrl)
}
@Html.ActionLink("Back to List", "Index")
@section Scripts { @*TODO : Until script helpers are available, adding script references manually*@ @*@Scripts.Render("~/bundles/jqueryval")*@ }