diff options
| author | 2024-03-20 06:15:02 +0100 | |
|---|---|---|
| committer | 2024-03-20 06:15:02 +0100 | |
| commit | 2f4a881dd27cf05e6512b2781db107213852c3ad (patch) | |
| tree | c15b41a8e258a3fde2f2cdc825381e6833d99137 | |
| parent | Editing a post doesn't lose the attachment and its alt text. (diff) | |
| download | snac2-2f4a881dd27cf05e6512b2781db107213852c3ad.tar.gz snac2-2f4a881dd27cf05e6512b2781db107213852c3ad.tar.xz snac2-2f4a881dd27cf05e6512b2781db107213852c3ad.zip | |
Added a tip to delete the attachment.
| -rw-r--r-- | html.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -376,6 +376,7 @@ xs_html *html_note(snac *user, char *summary, | |||
| 376 | xs_html_sctag("input", | 376 | xs_html_sctag("input", |
| 377 | xs_html_attr("type", "text"), | 377 | xs_html_attr("type", "text"), |
| 378 | xs_html_attr("name", "attach_url"), | 378 | xs_html_attr("name", "attach_url"), |
| 379 | xs_html_attr("title", L("Clear this field to delete the attachment")), | ||
| 379 | xs_html_attr("value", att_file))); | 380 | xs_html_attr("value", att_file))); |
| 380 | else | 381 | else |
| 381 | xs_html_add(att, | 382 | xs_html_add(att, |