mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
Set some HTML url fields to be type 'url'.
This commit is contained in:
parent
c10449364b
commit
6a7881ec85
1 changed files with 2 additions and 2 deletions
4
html.c
4
html.c
|
@ -355,7 +355,7 @@ xs_html *html_note(snac *user, const char *summary,
|
||||||
xs_html_tag("p", NULL),
|
xs_html_tag("p", NULL),
|
||||||
xs_html_text(L("Reply to (URL): ")),
|
xs_html_text(L("Reply to (URL): ")),
|
||||||
xs_html_sctag("input",
|
xs_html_sctag("input",
|
||||||
xs_html_attr("type", "text"),
|
xs_html_attr("type", "url"),
|
||||||
xs_html_attr("name", "in_reply_to"),
|
xs_html_attr("name", "in_reply_to"),
|
||||||
xs_html_attr("placeholder", "Optional URL to reply to")));
|
xs_html_attr("placeholder", "Optional URL to reply to")));
|
||||||
|
|
||||||
|
@ -959,7 +959,7 @@ xs_html *html_top_controls(snac *snac)
|
||||||
xs_html_attr("method", "post"),
|
xs_html_attr("method", "post"),
|
||||||
xs_html_attr("action", ops_action),
|
xs_html_attr("action", ops_action),
|
||||||
xs_html_sctag("input",
|
xs_html_sctag("input",
|
||||||
xs_html_attr("type", "text"),
|
xs_html_attr("type", "url"),
|
||||||
xs_html_attr("name", "id"),
|
xs_html_attr("name", "id"),
|
||||||
xs_html_attr("required", "required"),
|
xs_html_attr("required", "required"),
|
||||||
xs_html_attr("placeholder", "https:/" "/fedi.example.com/bob/...")),
|
xs_html_attr("placeholder", "https:/" "/fedi.example.com/bob/...")),
|
||||||
|
|
Loading…
Reference in a new issue