Added hints wherever text fields are optional

This commit is contained in:
2025-10-06 19:45:18 +02:00
parent 7295dfb882
commit 50f2c9a647
2 changed files with 13 additions and 0 deletions

7
ui.js
View File

@@ -64,6 +64,9 @@ async function author_info_layout(content, result) {
.finish();
content.appendChild(author_name);
content.appendChild(new ElementBuilder("div.hint")
.text("Pokud si zatím nejste jisti, můžete ponechat toto pole prázdné.")
.finish());
content.appendChild(new ElementBuilder("div.vertical-spacer").finish());
content.appendChild(new ElementBuilder("div")
.text("Způsob sebeoslovení")
@@ -123,6 +126,10 @@ async function collaborators_layout(content, result) {
.text("Práce má konzultanta"))
.finish());
content.appendChild(consultant_name);
content.appendChild(new ElementBuilder("div.vertical-spacer").finish());
content.appendChild(new ElementBuilder("div.hint")
.text("Pokud si zatím nejste jisti jmény svých vedoucích, můžete tato pole ponechat prázdná.")
.finish());
}
async function run() {