Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

docs: add email templates to public templates folder

Brad Barbin13a9bb2047c6
diff --git a/apps/erp/public/templates/invite.html b/apps/erp/public/templates/invite.html
new file mode 100644
index 0000000000..5ef340ac99
--- /dev/null
+++ b/apps/erp/public/templates/invite.html
@@ -0,0 +1,12 @@
+<h2>You have been invited to Carbon</h2>
+
+<p>
+ You have been invited to create a user on Carbon. Follow this link to accept
+ the invite:
+</p>
+
+<p>
+ <a href="{{ .SiteURL }}/confirm-invite?token={{ .TokenHash }}"
+ >Accept the invite</a
+ >
+</p>
diff --git a/apps/erp/public/templates/magic-link.html b/apps/erp/public/templates/magic-link.html
new file mode 100644
index 0000000000..43c107dd4e
--- /dev/null
+++ b/apps/erp/public/templates/magic-link.html
@@ -0,0 +1,7 @@
+<h2>Magic Link for Carbon</h2>
+
+<p>Follow this link to login:</p>
+
+<p>
+ <a href="{{ .SiteURL }}/magic-link?token={{ .TokenHash }}">Log In</a>
+</p>