Refined look of rejected and unpublished articles
This commit is contained in:
parent
ae90f693f6
commit
7fc115bcc3
@ -1,11 +1,14 @@
|
||||
{{define "page-content"}}
|
||||
<form>
|
||||
<div>
|
||||
<div class="flex flex-col gap-4">
|
||||
{{range .RejectedArticles}}
|
||||
<div>
|
||||
<div class="border px-2 py-1 rounded-md flex gap-2">
|
||||
{{if index $.MyIDs .ID}}
|
||||
<input required id="{{.ID}}" name="id" type="radio" value="{{.ID}}" />
|
||||
<label for="{{.ID}}">{{.Title}}</label>
|
||||
<label class="w-full" for="{{.ID}}">
|
||||
<h1 class="font-bold text-2xl">{{.Title}}</h1>
|
||||
<p>{{.Description}}</p>
|
||||
</label>
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
|
@ -1,10 +1,13 @@
|
||||
{{define "page-content"}}
|
||||
<form>
|
||||
<div class="grid grid-cols-4 gap-4">
|
||||
<div class="flex flex-col gap-4">
|
||||
{{range .}}
|
||||
<div>
|
||||
<div class="border px-2 py-1 rounded-md flex gap-2">
|
||||
<input required id="{{.ID}}" name="id" type="radio" value="{{.ID}}" />
|
||||
<label for="{{.ID}}">{{.Title}}</label>
|
||||
<label class="w-full" for="{{.ID}}">
|
||||
<h1 class="font-bold text-2xl">{{.Title}}</h1>
|
||||
<p>{{.Description}}</p>
|
||||
</label>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user