forked from janek/compareware
Use the passed argument
This commit is contained in:
parent
7c10c7ae63
commit
a36e9186d0
|
@ -37,7 +37,7 @@ prototypeFor field record =
|
||||||
where
|
where
|
||||||
parentFormContext = ?formContext
|
parentFormContext = ?formContext
|
||||||
prototype :: Html
|
prototype :: Html
|
||||||
prototype = let ?formContext = parentFormContext { model = parentFormContext.model |> set field [newRecord] } in nestedFormFor field renderTagForm
|
prototype = let ?formContext = parentFormContext { model = parentFormContext.model |> set field [record] } in nestedFormFor field renderTagForm
|
||||||
|
|
||||||
renderTagForm :: (?formContext :: FormContext Tag) => Html
|
renderTagForm :: (?formContext :: FormContext Tag) => Html
|
||||||
renderTagForm = [hsx|
|
renderTagForm = [hsx|
|
||||||
|
|
Loading…
Reference in New Issue