Skip to content

Commit

Permalink
multi-input likes
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Nov 5, 2024
1 parent 4df5aa6 commit b3b7a51
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v1.11.0 - 2024-11-05

- Use multi-imput for likes and improvements.
- Add "Gleam" to page title.

## v1.10.0 - 2024-11-05

- Added pretty header.
Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "survey"
version = "1.10.0"
version = "1.11.0"
licences = ["Apache-2.0"]

# Fill out these fields if you intend to generate HTML documentation or publish
Expand Down
8 changes: 5 additions & 3 deletions src/survey.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const html_head = "
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width'>
<link rel='shortcut icon' href='https://gleam.run/images/lucy/lucy.svg'>
<title>Developer Survey 2024</title>
<title>Gleam Developer Survey 2024</title>
<style>"
<> css
<> "</style>
Expand Down Expand Up @@ -322,12 +322,14 @@ const html_form = html_head
<fieldset>
<legend>What do you like about Gleam?</legend>
<textarea name='likes'></textarea>
<input type='text' name='likes'>
<button type='button' data-add-another-input>Add another</button>
</fieldset>
<fieldset>
<legend>What would you like see the Gleam team work on in 2025?</legend>
<textarea name='improvements'></textarea>
<input type='text' name='improvements'>
<button type='button' data-add-another-input>Add another</button>
</fieldset>
<fieldset>
Expand Down

0 comments on commit b3b7a51

Please sign in to comment.