Compare commits

..

2 Commits

2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ CREATE TABLE articles (
CREATE TABLE tags ( CREATE TABLE tags (
id INT AUTO_INCREMENT, id INT AUTO_INCREMENT,
name VARCHAR(15) NOT NULL UNIQUE, name VARCHAR(50) NOT NULL UNIQUE,
PRIMARY KEY(id) PRIMARY KEY(id)
); );

View File

@ -16,7 +16,7 @@
<div> <div>
<span>Tags</span> <span>Tags</span>
<div class="flex gap-4"> <div class="flex flex-wrap gap-4">
{{range .}} {{range .}}
<div> <div>
<input id="{{.Name}}" name="tags" type="checkbox" value="{{.ID}}" /> <input id="{{.Name}}" name="tags" type="checkbox" value="{{.ID}}" />