2024-03-01 11:30:31 +01:00
|
|
|
{{define "page-content"}}
|
2024-04-03 18:08:56 +02:00
|
|
|
<div>
|
|
|
|
<span>Titel</span>
|
|
|
|
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
|
|
|
{{.Title}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<span>Beschreibung</span>
|
|
|
|
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
|
|
|
{{.Description}}
|
|
|
|
</div>
|
2024-03-17 08:46:49 +01:00
|
|
|
|
2024-04-03 18:08:56 +02:00
|
|
|
<span>Artikel</span>
|
|
|
|
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
|
|
|
<div class="prose">
|
|
|
|
{{.Content}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<span>Tags</span>
|
|
|
|
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
2024-03-28 08:41:38 +01:00
|
|
|
{{range .Tags}}
|
|
|
|
{{.Name}}
|
2024-04-03 18:08:56 +02:00
|
|
|
<br>
|
2024-03-28 08:41:38 +01:00
|
|
|
{{end}}
|
2024-04-03 18:08:56 +02:00
|
|
|
</div>
|
2024-03-17 08:46:49 +01:00
|
|
|
|
2024-04-01 14:22:59 +02:00
|
|
|
<div class="btn-area">
|
2024-04-03 18:08:56 +02:00
|
|
|
<input class="action-btn" type="submit" value="Veröffentlichen" hx-get="/publish-article/{{.ID}}/"
|
2024-04-01 14:22:59 +02:00
|
|
|
hx-target="#page-content" />
|
2024-04-03 18:08:56 +02:00
|
|
|
<input class="btn" type="submit" value="Ablehnen" hx-get="/reject-article/{{.ID}}/" hx-target="#page-content" />
|
2024-04-01 14:22:59 +02:00
|
|
|
<button class="btn" hx-get="/hub/" hx-target="#page-content">Zurück</button>
|
|
|
|
</div>
|
2024-04-03 18:08:56 +02:00
|
|
|
</div>
|
2024-03-01 11:30:31 +01:00
|
|
|
{{end}}
|