1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-06 00:11:22 +01:00

PartialAsync

This commit is contained in:
Kyle Spearrin 2018-08-06 21:11:23 -04:00
parent e6aaddaed1
commit 4ce1e39095
4 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@
<h1>Organization <small>@Model.Organization.Name</small></h1>
<h2>Information</h2>
@Html.Partial("_ViewInformation", Model)
@Html.PartialAsync("_ViewInformation", Model)
<form method="post" id="edit-form">
<h2>General</h2>
<div class="row">

View File

@ -6,7 +6,7 @@
<h1>Organization <small>@Model.Organization.Name</small></h1>
<h2>Information</h2>
@Html.Partial("_ViewInformation", Model)
@Html.PartialAsync("_ViewInformation", Model)
<form asp-action="Delete" asp-route-id="@Model.Organization.Id"
onsubmit="return confirm('Are you sure you want to delete this organization (@Model.Organization.Name)?')">
<button class="btn btn-danger" type="submit">Delete</button>

View File

@ -57,7 +57,7 @@
<h1>User <small>@Model.User.Email</small></h1>
<h2>Information</h2>
@Html.Partial("_ViewInformation", Model)
@Html.PartialAsync("_ViewInformation", Model)
<form method="post" id="edit-form">
<h2>General</h2>
<div class="row">

View File

@ -6,7 +6,7 @@
<h1>User <small>@Model.User.Email</small></h1>
<h2>Information</h2>
@Html.Partial("_ViewInformation", Model)
@Html.PartialAsync("_ViewInformation", Model)
<form asp-action="Delete" asp-route-id="@Model.User.Id"
onsubmit="return confirm('Are you sure you want to delete this user (@Model.User.Email)?')">
<button class="btn btn-danger" type="submit">Delete</button>