Passage à ASP.NET vNext
This commit is contained in:
parent
ea90fefc31
commit
388b004837
1929 changed files with 104611 additions and 235941 deletions
14
Yavsc/Views/FrontOffice/Book.cshtml
Normal file
14
Yavsc/Views/FrontOffice/Book.cshtml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
@model IEnumerable<PerformerProfile>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Book - " + (ViewBag.Activity?.Name ?? SR["Any"]);
|
||||
}
|
||||
<em>@ViewBag.Activity?.Description</em>
|
||||
|
||||
@foreach (var profile in Model) {
|
||||
await Html.RenderPartialAsync("_PerformerPartial", profile) ;
|
||||
<form action="~/Command/Create" >
|
||||
<input type="hidden" name="id" value="@profile.PerfomerId" />
|
||||
<input type="submit" value="@SR["Book this performer"]"/>
|
||||
</form>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue