feat: extracts {{prompt}} out from {{form}} as a separate element
This commit is contained in:
parent
2e0002a810
commit
4807104eb1
5 changed files with 29 additions and 13 deletions
|
|
@ -7,10 +7,13 @@
|
|||
Available placeholders:
|
||||
|
||||
title - Site title (BOOK_SITE_TITLE). Useful in <title> and headings.
|
||||
prompt - The form prompt text (BOOK_FORM_PROMPT), wrapped in a
|
||||
<span class="guestbook-prompt">. Empty when submissions
|
||||
are disabled. Place anywhere relative to the form.
|
||||
form - The submission form (labels, inputs, button). Controlled by
|
||||
BOOK_FORM_PROMPT, BOOK_LABEL_NAME, BOOK_LABEL_WEBSITE,
|
||||
BOOK_LABEL_MESSAGE, BOOK_BUTTON_TEXT, BOOK_TEXTAREA_WIDTH,
|
||||
BOOK_TEXTAREA_HEIGHT. Empty when BOOK_ENABLE_SUBMISSIONS=false.
|
||||
BOOK_LABEL_NAME, BOOK_LABEL_WEBSITE, BOOK_LABEL_MESSAGE,
|
||||
BOOK_BUTTON_TEXT, BOOK_TEXTAREA_WIDTH, BOOK_TEXTAREA_HEIGHT.
|
||||
Empty when BOOK_ENABLE_SUBMISSIONS=false.
|
||||
entries - Approved guestbook entries, newest first. Entry separator
|
||||
controlled by BOOK_SEPARATOR.
|
||||
style - Custom CSS from BOOK_STYLE or BOOK_STYLE_FILE, wrapped in
|
||||
|
|
@ -33,6 +36,7 @@
|
|||
guestbook
|
||||
=========
|
||||
|
||||
{{prompt}}
|
||||
{{form}}
|
||||
|
||||
entries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue