Skip to content

Commit

Permalink
more rows
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Nov 16, 2024
1 parent c041feb commit e991380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frameos/src/frameos/server.nim
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ router myrouter:

fieldsHtml.add(fmt"<label for='{h($key)}'>{h(label)}</label><br/>")
if fieldType == "text":
fieldsHtml.add(fmt"<textarea id='{h($key)}' placeholder='{h(placeholder)}'>{h(stringValue)}</textarea><br/><br/>")
fieldsHtml.add(fmt"<textarea id='{h($key)}' placeholder='{h(placeholder)}' rows=5>{h(stringValue)}</textarea><br/><br/>")
elif fieldType == "select" or fieldType == "boolean":
fieldsHtml.add(fmt"<select id='{h($key)}' placeholder='{h(placeholder)}'>")
let options = if fieldType == "boolean": @["true", "false"]
Expand Down

0 comments on commit e991380

Please sign in to comment.