2024-02-14 18:53:49 +00:00
|
|
|
<label for="title">Title</label>
|
|
|
|
<input type="text" name="title" value="{{.Title}}" />
|
|
|
|
|
|
|
|
<label for="content">Content</label>
|
2024-02-21 20:21:58 +00:00
|
|
|
<textarea
|
|
|
|
id="contentField"
|
|
|
|
name="content"
|
|
|
|
rows="16"
|
|
|
|
>{{.Content}}</textarea>
|
|
|
|
|
2024-02-23 09:10:07 +00:00
|
|
|
<script src="/static/editor.js"></script>
|
2024-02-21 20:21:58 +00:00
|
|
|
<script>
|
2024-02-23 09:10:07 +00:00
|
|
|
addFileDrop("contentField")
|
2024-02-21 20:21:58 +00:00
|
|
|
</script>
|