From 147ec96d351fa66940f6f51ea50869fe14de0c24 Mon Sep 17 00:00:00 2001
From: Cillian O'Ruanaidh <contact@cilliano.com>
Date: Mon, 6 Jan 2025 15:07:17 +0000
Subject: [PATCH] Document custom placeholders for the register interest widget
 and make register interest/events widgets top level nav items.

---
 source/docs/api/widget/index.html.md.erb | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/source/docs/api/widget/index.html.md.erb b/source/docs/api/widget/index.html.md.erb
index adc13343cb8..3aa42733289 100644
--- a/source/docs/api/widget/index.html.md.erb
+++ b/source/docs/api/widget/index.html.md.erb
@@ -486,7 +486,7 @@ Use the `trialfire` plugin to integrate with [Trialfire](https://trialfire.com/)
 
 You can use `email-placeholder` and `name-placeholder` attributes to set custom placeholders for the name and email fields on the order form.
 
-## Events widget
+# Events widget
 
 To display a list of your upcoming and past events on your site, like what appears on your Tito public account timeline <a href="https://ti.to/events" target="_blank">here</a> for example, you can use the `<tito-events>` widget.
 
@@ -494,14 +494,26 @@ To display a list of your upcoming and past events on your site, like what appea
 <tito-events account="ultimateconf"></tito-events>
 ```
 
-## Register interest widget
+# Register interest widget
+
+```html
+<tito-register-interest event="ultimateconf/2013"></tito-register-interest>
+```
 
 To add a form on your site for people to <a href="https://help.tito.io/en/articles/2003003-interested-people" target="_blank">register interest</a> in your event, you can use the `<tito-register-interest>` widget.
 
+## Custom placeholders
+
 ```html
-<tito-register-interest event="ultimateconf/2013"></tito-register-interest>
+<tito-register-interest
+  event="ultimateconf/2013"
+  email-placeholder="michael.scott@dundermifflin.inc"
+  name-placeholder="Michael Scott"
+  ></tito-register-interest>
 ```
 
+You can use `email-placeholder` and `name-placeholder` attributes to set custom placeholders for the name and email fields on the register interest widget.
+
 <br>
 <br>
 <br>