Skip to content

Commit b3b7a51

Browse files
committed
multi-input likes
1 parent 4df5aa6 commit b3b7a51

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## v1.11.0 - 2024-11-05
4+
5+
- Use multi-imput for likes and improvements.
6+
- Add "Gleam" to page title.
7+
38
## v1.10.0 - 2024-11-05
49

510
- Added pretty header.

gleam.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "survey"
2-
version = "1.10.0"
2+
version = "1.11.0"
33
licences = ["Apache-2.0"]
44

55
# Fill out these fields if you intend to generate HTML documentation or publish

src/survey.gleam

+5-3
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const html_head = "
113113
<meta charset='utf-8'>
114114
<meta name='viewport' content='width=device-width'>
115115
<link rel='shortcut icon' href='https://gleam.run/images/lucy/lucy.svg'>
116-
<title>Developer Survey 2024</title>
116+
<title>Gleam Developer Survey 2024</title>
117117
<style>"
118118
<> css
119119
<> "</style>
@@ -322,12 +322,14 @@ const html_form = html_head
322322
323323
<fieldset>
324324
<legend>What do you like about Gleam?</legend>
325-
<textarea name='likes'></textarea>
325+
<input type='text' name='likes'>
326+
<button type='button' data-add-another-input>Add another</button>
326327
</fieldset>
327328
328329
<fieldset>
329330
<legend>What would you like see the Gleam team work on in 2025?</legend>
330-
<textarea name='improvements'></textarea>
331+
<input type='text' name='improvements'>
332+
<button type='button' data-add-another-input>Add another</button>
331333
</fieldset>
332334
333335
<fieldset>

0 commit comments

Comments
 (0)