fixe le retour après connection pour prise de rendez-vous
This commit is contained in:
parent
5c5420dc25
commit
4e280c6a2a
3 changed files with 23 additions and 21 deletions
|
|
@ -8,11 +8,13 @@
|
|||
|
||||
@foreach (var profile in Model) {
|
||||
<hr/>
|
||||
@Html.DisplayFor(m=>profile)
|
||||
<form asp-controller="HairCutCommand" asp-action="HairCut">
|
||||
<input type="hidden" name="performerId" value="@profile.PerformerId" />
|
||||
<input type="hidden" name="activityCode" value="@ViewBag.Activity.Code" />
|
||||
<input type="submit" value="@SR["Proposer un rendez-vous à"] @profile.Performer.UserName"/>
|
||||
</form>
|
||||
@Html.DisplayFor(m=>profile)
|
||||
<a asp-controller="HairCutCommand" asp-action="HairCut"
|
||||
asp-route-activityCode="@ViewBag.Activity.Code"
|
||||
asp-route-performerId="@profile.Performer.Id"
|
||||
class="btn btn-link">
|
||||
@SR["Proposer un rendez-vous à"] @profile.Performer.UserName
|
||||
</a>
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue