Cleanup and additional template examples.
This commit is contained in:
parent
b4c4fae66b
commit
cc2f25431b
4 changed files with 51 additions and 14 deletions
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
{{define "message"}}
|
||||
<div class="notification is-light is-{{.Type}}" x-data="{show: true}" x-show="show">
|
||||
<button class="delete" x-on:click="show = false"></button>
|
||||
<button class="delete" @click="show = false"></button>
|
||||
{{.Text}}
|
||||
</div>
|
||||
{{end}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue