Add visually hidden label for dynamic input, move read-only logic in the macro

This commit is contained in:
2025-01-29 15:57:19 +01:00
parent cf11e4d718
commit f44192a114
4 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ class BrickPart(RebrickablePart):
# A identifier for HTML component
def html_id(self) -> str:
components: list[str] = []
components: list[str] = ['part']
if self.fields.figure is not None:
components.append(self.fields.figure)