{{ define "title" }}Publish a new string &middot; Tangled{{ end }}

{{ define "content" }}
  <div class="px-6 py-2 mb-4">
    {{ if eq .Action "new" }}
      <p class="text-xl font-bold dark:text-white mb-1">Create a new string</p>
      <p class="text-gray-600 dark:text-gray-400 mb-1">Store and share code snippets with ease.</p>
    {{ else }}
      <p class="text-xl font-bold dark:text-white">Edit string</p>
    {{ end }}
  </div>
  {{ template "strings/fragments/form" . }}
{{ end }}
