WIP on htmx 4; change target from window to body (#60)
This commit is contained in:
@@ -523,7 +523,7 @@ let redirectList (model: RedirectRule list) app = [
|
||||
let tagMapEdit (model: EditTagMapModel) app = [
|
||||
h5 [ _class "my-3" ] [ txt app.PageTitle ]
|
||||
form [ _hxPost (relUrl app "admin/settings/tag-mapping/save"); _method "post"; _hxBoost; _class "container"
|
||||
_hxTarget "#tagList"; _hxSwap $"{HxSwap.OuterHtml} show:top showTarget:window" ] [
|
||||
_hxTarget "#tagList"; _hxSwap $"{HxSwap.OuterHtml} show:top showTarget:top" ] [
|
||||
antiCsrf app
|
||||
input [ _type "hidden"; _name "Id"; _value model.Id ]
|
||||
div [ _class "row mb-3" ] [
|
||||
|
||||
Reference in New Issue
Block a user