diff options
| author | 2024-10-29 20:22:49 +0100 | |
|---|---|---|
| committer | 2024-10-29 20:22:49 +0100 | |
| commit | 6a7881ec850f0f79eb7cd0f201375390eac627a6 (patch) | |
| tree | 0cba22a787bce27b996813cf122a9f099ecfeeb5 | |
| parent | Updated TODO. (diff) | |
| download | penes-snac2-6a7881ec850f0f79eb7cd0f201375390eac627a6.tar.gz penes-snac2-6a7881ec850f0f79eb7cd0f201375390eac627a6.tar.xz penes-snac2-6a7881ec850f0f79eb7cd0f201375390eac627a6.zip | |
Set some HTML url fields to be type 'url'.
Diffstat (limited to '')
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -355,7 +355,7 @@ xs_html *html_note(snac *user, const char *summary, | |||
| 355 | xs_html_tag("p", NULL), | 355 | xs_html_tag("p", NULL), |
| 356 | xs_html_text(L("Reply to (URL): ")), | 356 | xs_html_text(L("Reply to (URL): ")), |
| 357 | xs_html_sctag("input", | 357 | xs_html_sctag("input", |
| 358 | xs_html_attr("type", "text"), | 358 | xs_html_attr("type", "url"), |
| 359 | xs_html_attr("name", "in_reply_to"), | 359 | xs_html_attr("name", "in_reply_to"), |
| 360 | xs_html_attr("placeholder", "Optional URL to reply to"))); | 360 | xs_html_attr("placeholder", "Optional URL to reply to"))); |
| 361 | 361 | ||
| @@ -959,7 +959,7 @@ xs_html *html_top_controls(snac *snac) | |||
| 959 | xs_html_attr("method", "post"), | 959 | xs_html_attr("method", "post"), |
| 960 | xs_html_attr("action", ops_action), | 960 | xs_html_attr("action", ops_action), |
| 961 | xs_html_sctag("input", | 961 | xs_html_sctag("input", |
| 962 | xs_html_attr("type", "text"), | 962 | xs_html_attr("type", "url"), |
| 963 | xs_html_attr("name", "id"), | 963 | xs_html_attr("name", "id"), |
| 964 | xs_html_attr("required", "required"), | 964 | xs_html_attr("required", "required"), |
| 965 | xs_html_attr("placeholder", "https:/" "/fedi.example.com/bob/...")), | 965 | xs_html_attr("placeholder", "https:/" "/fedi.example.com/bob/...")), |