1{{ define "title" }}publish a new string{{ end }}
2
3{{ define "content" }}
4 <div class="px-6 py-2 mb-4">
5 {{ if eq .Action "new" }}
6 <p class="text-xl font-bold dark:text-white">Create a new string</p>
7 <p class="">Store and share code snippets with ease.</p>
8 {{ else }}
9 <p class="text-xl font-bold dark:text-white">Edit string</p>
10 {{ end }}
11 </div>
12 {{ template "strings/fragments/form" . }}
13{{ end }}