<form hx-post="/api/notes/create-custom" hx-target="#editor-container" hx-swap="innerHTML">
    <label for="new-filename">Nom de la nouvelle note (ex: ma-super-note.md)</label>
    <input type="text" id="new-filename" name="filename" placeholder="nom-de-la-note.md" required>
    <button type="submit">Créer la note</button>
    <button type="button" hx-get="/api/tree" hx-target="#editor-container" hx-swap="innerHTML" class="secondary">Annuler</button>
</form>
