mirror of
https://github.com/ae-utbm/sith.git
synced 2026-05-14 04:58:06 +00:00
feat: club link management in club edit view
This commit is contained in:
@@ -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