Premier commit déjà bien avancé
This commit is contained in:
6
templates/new-note-prompt.html
Normal file
6
templates/new-note-prompt.html
Normal file
@ -0,0 +1,6 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user