Added partial support for tags
This commit is contained in:
@ -4,6 +4,10 @@
|
||||
<input name="editor-title" placeholder="Titel" type="text" />
|
||||
<textarea name="editor-desc" placeholder="Beschreibung"></textarea>
|
||||
<textarea name="editor-text" placeholder="Artikel"></textarea>
|
||||
{{range .}}
|
||||
<input id="{{.}}" name="tags" type="checkbox" value="{{.}}" />
|
||||
<label for="{{.}}">{{.}}</label>
|
||||
{{end}}
|
||||
<input type="submit" value="Senden" hx-post="/finish-article/" hx-target="#page-content" />
|
||||
</form>
|
||||
{{end}}
|
||||
|
Reference in New Issue
Block a user