fixed some typos
This commit is contained in:
parent
ebeb36921a
commit
c726cb76f7
5 changed files with 30 additions and 16 deletions
|
|
@ -2,10 +2,10 @@ package html
|
|||
|
||||
templ Dziekujemy() {
|
||||
@layout("Dziękujemy"){
|
||||
<p>Dziękujemy! Numer zamówienia: <b id="order-id"></b>. Potwierdzimy zamówienie telefonicznie.</p>
|
||||
<p id="confirmation">Dziękujemy! Numer zamówienia: <b id="order-id"></b>.</p>
|
||||
<script>
|
||||
const id = new URLSearchParams(location.search).get('order');
|
||||
if (id) document.getElementById('order-id').textContent = id;
|
||||
</script>
|
||||
</script>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue