Added Layout and UserProfile
This commit is contained in:
@@ -34,11 +34,11 @@ class BaseCommand:
|
||||
CommandsManager.register(self)
|
||||
|
||||
def get_htmx_params(self):
|
||||
return self._htmx_extra | {
|
||||
return {
|
||||
"hx-post": f"{ROUTE_ROOT}{Routes.Commands}",
|
||||
"hx-swap": "outerHTML",
|
||||
"hx-vals": f'{{"c_id": "{self.id}"}}',
|
||||
}
|
||||
} | self._htmx_extra
|
||||
|
||||
def execute(self):
|
||||
raise NotImplementedError
|
||||
|
||||
Reference in New Issue
Block a user