yavsc/Yavsc/Views/FrontOffice/Book.cshtml
Paul Schneider 8b65d329c6 re-fixes the command creation
A pro now may have specified several activities;
Since, the query creation was broken
2017-01-15 20:49:53 +01:00

16 lines
555 B
Text

@model IEnumerable<PerformerProfile>
@{
ViewData["Title"] = "Book - " + (ViewBag.Activity?.Name ?? SR["Any"]);
}
<em>@ViewBag.Activity.Description</em>
@foreach (var profile in Model) {
<hr/>
await Html.RenderPartialAsync("PerformerProfile", profile) ;
<form action="~/Command/Create" >
<input type="hidden" name="id" value="@profile.PerformerId" />
<input type="hidden" name="activityCode" value="@ViewBag.Activity.Code" />
<input type="submit" value="@SR["Book "+ViewBag.Activity.Code]"/>
</form>
}