Skip to content

Commit

Permalink
Fixed broken rendering of reference checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
nezbite committed Jun 22, 2022
1 parent 0fd9c2b commit 376e4c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IHP/IDE/SchemaDesigner/View/Columns/New.hs
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ instance View NewColumnView where
where
generateReferenceCheckboxes = [hsx|{forEach tableNames checkbox}|]
where checkbox tableName = [hsx|
<div class="custom-control custom-checkbox" style="display: none;" data-attribute={(singularize tableName) <> "_id"} data-table={tableName} >
<div class="custom-control custom-checkbox ref" style="display: none;" data-attribute={(singularize tableName) <> "_id"} data-table={tableName} >
<input id="reference" type="checkbox" name="isReference" class="mr-1 custom-control-input"/>
<label class="mx-2 ref custom-control-label" id="refText">
<label class="mx-2 custom-control-label" id="refText">
References {tableName}
</label>
</div>
Expand Down

0 comments on commit 376e4c2

Please sign in to comment.