From a390659705191f0a6bd7ab0187a5c65976d772a8 Mon Sep 17 00:00:00 2001 From: Stanislav Romanov Date: Fri, 16 Sep 2022 17:02:56 +0300 Subject: [PATCH] Replace template to Form::Listbox --- .../admin/indexes/item/documents/index.hbs | 74 ++++--------------- 1 file changed, 15 insertions(+), 59 deletions(-) diff --git a/app/templates/admin/indexes/item/documents/index.hbs b/app/templates/admin/indexes/item/documents/index.hbs index 3517e4d..8d459f1 100644 --- a/app/templates/admin/indexes/item/documents/index.hbs +++ b/app/templates/admin/indexes/item/documents/index.hbs @@ -18,68 +18,24 @@ {{! sort }} {{#if this.sortValues.length}} -
- - - {{! }} - Sort: - {{if this.sort this.sort 'none'}} - - - {{#each this.sortValues as |item|}} - -
- {{item}} -
-
- {{/each}} - - - - -
- Clear -
-
-
-
-
+ {{/if}} {{! limit }} -
- - - Limit: - {{this.limit}} - - - {{#each (array 20 50 100 500) as |item|}} - -
- {{item}} -
-
- {{/each}} -
-
-
+ {{! table settings }}