Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit 9047a9d

Browse files
Merge pull request #118 from nodes-vapor/feature/add-fixed-number-tag
add new leaf tag from Sugar to format a number to fixed decimals
2 parents f1633fe + 55acb61 commit 9047a9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/AdminPanel/Providers/AdminPanelProvider.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ public extension LeafTagConfig {
139139
"adminPanel:user": CurrentUserTag<U>(),
140140
"adminPanel:user:requireRole": RequireRoleTag<U>(),
141141
"adminPanel:user:hasRequiredRole": HasRequiredRole<U>(),
142+
"number": NumberFormatTag(),
142143
"offsetPaginator": OffsetPaginatorTag(templatePath: "Paginator/offsetpaginator"),
143144
"submissions:WYSIWYG": InputTag(templatePath: paths.wysiwygField)
144145
])

0 commit comments

Comments
 (0)