{{ $hasSavedUserData := (ne .SavedUserDataKey "") }}

{{if or .IsAuthed $hasSavedUserData}}

<fieldset role="group" class="flex flex-row align-center mb-0" {{if not .IsAuthed}}disabled{{end}}>
  <label
    for="userdata_key"
    class="flex flex-row secondary"
    style="
      font-size: 0.75rem;
      padding: 0.25em 0.75em;
    "
    role="button"
  >
    UserData
  </label>
  <select
    class="mb-0"
    style="font-size: 0.75rem; padding: 0.25em 2.5em 0.25em 1em;"
    hx-target="body"
    hx-post="conf