@@ -29,21 +29,20 @@ namespace Privileged.Components;
2929/// <item><description>Busy: When <see cref="Busy"/> is <c>true</c> or the <see cref="Trigger"/> callback is executing.</description></item>
3030/// <item><description>Normal: When the user has permission and the button is not disabled or busy.</description></item>
3131/// </list>
32- /// </para>
3332/// </remarks>
3433/// <example>
3534/// <code>
3635/// <!-- Basic usage with privilege check -->
37- /// <PrivilegeButton Action="delete"
38- /// Subject="Document"
36+ /// <PrivilegeButton Action="delete"
37+ /// Subject="Document"
3938/// Trigger="DeleteDocument"
4039/// class="btn btn-danger">
4140/// Delete Document
4241/// </PrivilegeButton>
43- ///
42+ ///
4443/// <!-- With custom busy template and qualifier -->
45- /// <PrivilegeButton Action="update"
46- /// Subject="User"
44+ /// <PrivilegeButton Action="update"
45+ /// Subject="User"
4746/// Qualifier="Salary"
4847/// Trigger="UpdateSalary"
4948/// BusyText="Updating salary...">
@@ -52,10 +51,10 @@ namespace Privileged.Components;
5251/// </BusyTemplate>
5352/// Update Salary
5453/// </PrivilegeButton>
55- ///
54+ ///
5655/// <!-- Hidden when forbidden -->
57- /// <PrivilegeButton Action="admin"
58- /// Subject="System"
56+ /// <PrivilegeButton Action="admin"
57+ /// Subject="System"
5958/// HideForbidden="true"
6059/// Trigger="AdminAction">
6160/// Admin Panel
@@ -285,8 +284,8 @@ public class PrivilegeButton : ComponentBase
285284 /// </remarks>
286285 /// <example>
287286 /// <code>
288- /// <PrivilegeButton Action="delete"
289- /// Subject="Document"
287+ /// <PrivilegeButton Action="delete"
288+ /// Subject="Document"
290289 /// class="btn btn-danger"
291290 /// title="Delete this document"
292291 /// data-toggle="tooltip">
@@ -322,12 +321,12 @@ public class PrivilegeButton : ComponentBase
322321 /// </remarks>
323322 /// <example>
324323 /// <code>
325- /// <PrivilegeButton Action="save"
326- /// Subject="Document"
324+ /// <PrivilegeButton Action="save"
325+ /// Subject="Document"
327326 /// Trigger="SaveDocumentAsync">
328327 /// Save
329328 /// </PrivilegeButton>
330- ///
329+ ///
331330 /// @code {
332331 /// private async Task SaveDocumentAsync()
333332 /// {
0 commit comments