Add projects to the system

This commit is contained in:
2021-12-27 18:48:38 +02:00
parent d8bf6dcafb
commit d590ae0179
9 changed files with 389 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
extend templates/layout.pug
block content
.container
.center
h1 Add Entry to Project
table
thead
tr
th Name
th Version
th
tbody
each entry in entries
tr
td= entry.name
td= entry.entryVersions[0].tag
td
form(action=`/projects/${project.id}/add-entry`, method="post")
input(type="hidden", name="entryVersionId", value=entry.entryVersions[0].id)
button.btn.black(type="submit") add to project