mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-10 21:00:28 +00:00
feat: club link management in club edit view
This commit is contained in:
1 parent
4d1019c955
commit
eaf90efd5c
5 files changed
+161
-10
No files matched your search
@@ -103,7 +103,7 @@ def add_attr(field: BoundField, attr: str):
|
||||
if "=" not in d:
|
||||
attrs["class"] = d
|
||||
else:
|
||||
key, val = d.split("=")
|
||||
key, val = d.split("=", maxsplit=1)
|
||||
attrs[key] = val
|
||||
|
||||
return field.as_widget(attrs=attrs)
|
||||
Reference in new issue
Block a user