diff --git a/categories/categories.html b/categories/categories.html deleted file mode 100644 index ea099c9..0000000 --- a/categories/categories.html +++ /dev/null @@ -1,38 +0,0 @@ -{{define "category x"}}Category {{. | beautifulName}}{{end}} -{{define "category list heading"}}Category list{{end}} - -{{define "category card"}} -{{$hyphaName := .HyphaName}} -{{$givenPermission := .GivenPermissionToModify}} - -{{end}} \ No newline at end of file diff --git a/categories/view_card.html b/categories/view_card.html new file mode 100644 index 0000000..1f145c2 --- /dev/null +++ b/categories/view_card.html @@ -0,0 +1,35 @@ +{{define "category card"}} + {{$hyphaName := .HyphaName}} + {{$givenPermission := .GivenPermissionToModify}} + +{{end}} \ No newline at end of file diff --git a/categories/view_list.html b/categories/view_list.html index 8cd79da..fdd21db 100644 --- a/categories/view_list.html +++ b/categories/view_list.html @@ -1,6 +1,7 @@ +{{define "title"}}Category list{{end}} {{define "body"}}
-

{{block `category list heading` .}}Category list{{end}}

+

{{template "title"}}

{{if len .Categories}}