Skip to content

Commit

Permalink
add non-editable section
Browse files Browse the repository at this point in the history
  • Loading branch information
tilen1976 committed Aug 19, 2024
1 parent 2d05915 commit 2e16711
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/datadoc/frontend/callbacks/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from datadoc.frontend.fields.display_variables import (
MULTIPLE_LANGUAGE_VARIABLES_METADATA,
)
from datadoc.frontend.fields.display_variables import NON_EDITABLE_VARIABLES_METADATA
from datadoc.frontend.fields.display_variables import OBLIGATORY_VARIABLES_METADATA
from datadoc.frontend.fields.display_variables import (
OBLIGATORY_VARIABLES_METADATA_IDENTIFIERS_AND_DISPLAY_NAME,
Expand Down Expand Up @@ -68,6 +69,11 @@ def populate_variables_workspace(
"Anbefalt",
variable,
),
build_edit_section(
NON_EDITABLE_VARIABLES_METADATA,
"Maskingenerert",
variable,
),
],
)
for variable in variables
Expand Down

0 comments on commit 2e16711

Please sign in to comment.