{{ define "title" }}edit string{{ end }}

{{ define "content" }}
  <div class="px-6 py-2 mb-4">
    <p class="text-xl font-bold dark:text-white">Edit string</p>
  </div>
  <form
    id="string-form"
    hx-post="/strings/{{ .String.Did }}/{{ .String.Rkey }}/edit"
    hx-indicator="find button[type='submit']"
    hx-swap="none"
    hx-trigger="submit, ctrlenter"
  >
    {{ template "strings/fragments/formBody" . }}
  </form>
{{ end }}
