Skip to content

Commit

Permalink
Fixed generated view code missing form fields when the table name has…
Browse files Browse the repository at this point in the history
… an underscore
  • Loading branch information
mpscholten committed Aug 8, 2020
1 parent c9cb949 commit 1bbbaf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IHP/IDE/CodeGen/ViewGenerator.hs
Expand Up @@ -60,7 +60,7 @@ buildPlan' schema config =
]

modelFields :: [Text]
modelFields = fieldsForTable schema pluralVariableName
modelFields = fieldsForTable schema (modelNameToTableName pluralVariableName)


viewHeader =
Expand Down

0 comments on commit 1bbbaf2

Please sign in to comment.