diff --git a/src/AbpHelper.Core/Templates/Crud/Groups/UiRazor/src/{{ProjectInfo.FullName}}.Web/Pages/{{Bag.PagesFolder}}/{{EntityInfo.RelativeDirectory}}/{{EntityInfo.Name}}/Index.cshtml b/src/AbpHelper.Core/Templates/Crud/Groups/UiRazor/src/{{ProjectInfo.FullName}}.Web/Pages/{{Bag.PagesFolder}}/{{EntityInfo.RelativeDirectory}}/{{EntityInfo.Name}}/Index.cshtml index 02812da6..03559c5a 100644 --- a/src/AbpHelper.Core/Templates/Crud/Groups/UiRazor/src/{{ProjectInfo.FullName}}.Web/Pages/{{Bag.PagesFolder}}/{{EntityInfo.RelativeDirectory}}/{{EntityInfo.Name}}/Index.cshtml +++ b/src/AbpHelper.Core/Templates/Crud/Groups/UiRazor/src/{{ProjectInfo.FullName}}.Web/Pages/{{Bag.PagesFolder}}/{{EntityInfo.RelativeDirectory}}/{{EntityInfo.Name}}/Index.cshtml @@ -30,28 +30,22 @@ { } - - - - - - @L["{{ EntityInfo.Name }}"] - - +@section content_toolbar +{ {{~ if !Option.SkipPermissions ~}} - @if (await Authorization.IsGrantedAsync({{ ProjectInfo.Name }}Permissions.{{ EntityInfo.Name }}.Create)) - { + @if (await Authorization.IsGrantedAsync({{ ProjectInfo.Name }}Permissions.{{ EntityInfo.Name }}.Create)) + { {{~ end ~}} - + {{~ if !Option.SkipPermissions ~}} - } - {{~ end ~}} - - - + } +{{~ end ~}} +} + + {{~ if !Option.SkipGetListInputDto ~}}