14 lines
		
	
	
		
			406 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			406 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{{define "page-content"}}
 | 
						|
<h2>Editor</h2>
 | 
						|
<form>
 | 
						|
    <input name="editor-title" placeholder="Titel" type="text" />
 | 
						|
    <textarea name="editor-desc" placeholder="Beschreibung"></textarea>
 | 
						|
    <textarea name="editor-text" placeholder="Artikel"></textarea>
 | 
						|
    <input type="submit" value="Senden" hx-post="/finish-article/" hx-target="#page-content" />
 | 
						|
</form>
 | 
						|
{{end}}
 | 
						|
 | 
						|
{{define "html-result"}}
 | 
						|
{{.}}
 | 
						|
{{end}}
 |