Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c33d806e
authored
Jul 08, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: add 'aligned' attribute to kode SchemaNode for text alignment
1 parent
5e6c59ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
opensipkd/base/views/base_views.py
opensipkd/base/views/base_views.py
View file @
c33d806
...
@@ -57,9 +57,11 @@ log = logging.getLogger(__name__)
...
@@ -57,9 +57,11 @@ log = logging.getLogger(__name__)
# }
# }
class
AddSchema
(
colander
.
Schema
):
class
AddSchema
(
colander
.
Schema
):
kode
=
colander
.
SchemaNode
(
colander
.
String
(),
title
=
"Kode"
,
validator
=
colander
.
Length
(
max
=
50
),
kode
=
colander
.
SchemaNode
(
colander
.
String
(),
title
=
"Kode"
,
validator
=
colander
.
Length
(
max
=
50
),
search_method
=
"string_contains"
,
search_method
=
"string_contains"
,
searchable
=
True
,
searchable
=
True
,
aligned
=
"text-left"
)
)
class
UploadSchema
(
colander
.
Schema
):
class
UploadSchema
(
colander
.
Schema
):
upload
=
colander
.
SchemaNode
(
upload
=
colander
.
SchemaNode
(
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment