summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html.c b/src/html.c
index 8fcdb24..cc83874 100644
--- a/src/html.c
+++ b/src/html.c
@@ -545,7 +545,7 @@ gchar *
mq_html_input_radio(const gchar *name, const gchar *label, gboolean checked)
{
return g_strdup_printf("<label for=\"%s\"><span>%s</span>"
- "<input type=\"checkbox\" name=\"%s\" id=\"%s\"%s></label>\n",
+ "<input type=\"radio\" name=\"%s\" id=\"%s\"%s></label>\n",
name, label, name, name, checked ? " checked=\"checked\"" : "");
}
@@ -553,6 +553,6 @@ gchar *
mq_html_input_checkbox(const gchar *name, const gchar *label, gboolean checked)
{
return g_strdup_printf("<label for=\"%s\"><span>%s</span>"
- "<input type=\"radio\" name=\"%s\" id=\"%s\"%s></label>\n",
+ "<input type=\"checkbox\" name=\"%s\" id=\"%s\"%s></label>\n",
name, label, name, name, checked ? " checked=\"checked\"" : "");
}