Link to list of books

merge-requests/30/head
Bob Mottram 2024-01-04 13:53:09 +00:00
parent 4b91b19fbb
commit cea3abf354
1 changed files with 4 additions and 1 deletions

View File

@ -836,8 +836,11 @@ def html_new_post(edit_post_params: {},
extra_fields += '<br>' + \
edit_text_field(translate['Title'] + ':',
'booktitle', '', '', True)
books_url = 'https://en.wikipedia.org/wiki/Lists_of_books'
extra_fields += '<br>' + \
edit_text_field('URL:',
edit_text_field('<a href="' + books_url +
' target="_blank" ' +
'rel="nofollow noopener noreferrer">URL</a>:',
'bookurl', '', 'https://...', True)
extra_fields += '<br>' + \
edit_number_field(translate['Rating'],