client: "Include note" dialog: use a consistent format for radio buttons

This commit is contained in:
Adorian Doran 2025-02-03 17:06:04 +02:00
parent 4dafb47a36
commit 3ec24231f2

View File

@ -25,16 +25,22 @@ const TPL = `
${t("include_note.box_size_prompt")}
<div class="form-check">
<input class="form-check-input" type="radio" name="include-note-box-size" value="small">
<label class="form-check-label">${t("include_note.box_size_small")}</label>
<label class="form-check-label tn-radio">
<input class="form-check-input" type="radio" name="include-note-box-size" value="small">
${t("include_note.box_size_small")}
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="include-note-box-size" value="medium" checked>
<label class="form-check-label">${t("include_note.box_size_medium")}</label>
<label class="form-check-label tn-radio">
<input class="form-check-input" type="radio" name="include-note-box-size" value="medium" checked>
${t("include_note.box_size_medium")}
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="include-note-box-size" value="full">
<label class="form-check-label">${t("include_note.box_size_full")}</label>
<label class="form-check-label tn-radio">
<input class="form-check-input" type="radio" name="include-note-box-size" value="full">
${t("include_note.box_size_full")}
</label>
</div>
</div>
<div class="modal-footer">