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

{{ define "content" }}
  <div class="px-6 py-2 mb-4">
    <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>
  </div>
  <form
    id="string-form"
    hx-post="/strings/new"
    hx-indicator="find button[type='submit']"
    hx-swap="none"
    hx-trigger="submit, ctrlenter"
  >
    {{ template "strings/fragments/formBody" . }}
  </form>
{{ end }}
