47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
|
@model ThAmCo.Events.Data.Event
|
||
|
|
||
|
@{
|
||
|
ViewData["Title"] = "CreateWithVenue";
|
||
|
}
|
||
|
|
||
|
<h2>CreateWithVenue</h2>
|
||
|
|
||
|
<h4>Event</h4>
|
||
|
<hr />
|
||
|
<div class="row">
|
||
|
<div class="col-md-4">
|
||
|
<form asp-action="Create">
|
||
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||
|
<div class="form-group">
|
||
|
<label asp-for="Title" class="control-label"></label>
|
||
|
<input asp-for="Title" class="form-control" />
|
||
|
<span asp-validation-for="Title" class="text-danger"></span>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label asp-for="Date" class="control-label"></label>
|
||
|
<input asp-for="Date" class="form-control" />
|
||
|
<span asp-validation-for="Date" class="text-danger"></span>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label asp-for="Duration" class="control-label"></label>
|
||
|
<input asp-for="Duration" class="form-control" />
|
||
|
<span asp-validation-for="Duration" class="text-danger"></span>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label asp-for="TypeId" class="control-label"></label>
|
||
|
<input asp-for="TypeId" class="form-control" />
|
||
|
<span asp-validation-for="TypeId" class="text-danger"></span>
|
||
|
</div>
|
||
|
@Html.Hidden("VenueRefernce", Model.VenueReference)
|
||
|
<div class="form-group">
|
||
|
<input type="submit" value="Create" class="btn btn-default" />
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div>
|
||
|
<a asp-action="Index">Back to List</a>
|
||
|
</div>
|
||
|
|