add tags
This commit is contained in:
@@ -31,22 +31,12 @@
|
||||
<div class="mb-4">
|
||||
<label class="block text-sm/6 text-gray-900">Select Categories</label>
|
||||
<div class="space-y-2">
|
||||
{{ range .data.tags }}
|
||||
<label class="flex text-sm/6 items-center">
|
||||
<input type="checkbox" class="form-checkbox h-4 w-4 text-gray-900" value="tag1">
|
||||
<span class="ml-2 text-sm/6 text-gray-900">Feminism</span>
|
||||
</label>
|
||||
<label class="flex text-sm/6 items-center">
|
||||
<input type="checkbox" class="form-checkbox h-4 w-4 text-gray-900" value="tag2">
|
||||
<span class="ml-2 text-sm/6 text-gray-900">Anarchism</span>
|
||||
</label>
|
||||
<label class="flex text-sm/6 items-center">
|
||||
<input type="checkbox" class="form-checkbox h-4 w-4 text-gray-900" value="tag3">
|
||||
<span class="ml-2 text-sm/6 text-gray-900">Nihilism</span>
|
||||
</label>
|
||||
<label class="flex text-sm/6 items-center">
|
||||
<input type="checkbox" class="form-checkbox h-4 w-4 text-gray-900" value="tag4">
|
||||
<span class="ml-2 text-sm/6 text-gray-900">Syndicalism</span>
|
||||
<input type="checkbox" class="form-checkbox h-4 w-4 text-gray-900" value="{{ .ID }}" name="tags[]">
|
||||
<span class="ml-2 text-sm/6 text-gray-900">{{ .Name }}</span>
|
||||
</label>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user