Skip to content

Commit 6df7ee3

Browse files
committed
Add Petal Button
1 parent 2fe6a2d commit 6df7ee3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

cityehr-quick-start-guide/src/main/xslt/create-topic-html.xslt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@
3838
<xsl:apply-templates select="." mode="top-nav"/>
3939
</nav>
4040

41-
41+
<!-- Petal Edit Button -->
42+
<div id="petal-edit-page-button">
43+
<a href="{htop:petal-edit-url(com:document-uri(.), $petal-api-url, $petal-github-org-name, $petal-github-repo-name, $petal-github-branch, $petal-referrer-base-url)}">
44+
<input type="button" value="Edit this page..."/>
45+
</a>
46+
</div>
4247

4348
<article>
4449
<xsl:apply-templates select="element()" mode="body"/>

0 commit comments

Comments
 (0)