Files
old-backend/app/views/qor/index.tmpl
2023-09-07 13:04:34 +02:00

24 lines
587 B
Cheetah

{{$actions := load_actions "index" }}
{{if $actions}}
<div class="qor-page__header">
{{$actions}}
</div>
{{end}}
<div class="qor-page__body">
{{render "shared/flashes"}}
{{render "shared/errors"}}
<div class="qor-table-container">
{{render "index/table"}}
</div>
{{if has_create_permission .Resource}}
<a class="mdl-button mdl-button--fab mdl-button--primary qor-button--new" href="{{new_resource_path .Resource}}" data-url="{{new_resource_path .Resource}}">
<i class="material-icons">add</i>
</a>
{{end}}
{{render "index/pagination"}}
</div>