22 lines
959 B
Plaintext
22 lines
959 B
Plaintext
extend templates/layout.pug
|
|
|
|
block content
|
|
.container
|
|
.center
|
|
h1 Add Translation to #{project.name}
|
|
|
|
table
|
|
thead
|
|
tr
|
|
th Name
|
|
th Version
|
|
th
|
|
tbody
|
|
each translationEntryVersion in translationEntryVersions
|
|
tr
|
|
td #{translationEntryVersion.entryVersion.entry.name} - #{translationEntryVersion.name}
|
|
td= translationEntryVersion.entryVersion.tag
|
|
td
|
|
form(action=`/projects/${project.id}/add-translation`, method="post")
|
|
input(type="hidden", name="translationEntryVersionId", value=translationEntryVersion.id)
|
|
button.btn.black(type="submit") add to project |