Add ability to add language to project entities
This commit is contained in:
22
server/views/project-language-form.pug
Normal file
22
server/views/project-language-form.pug
Normal file
@@ -0,0 +1,22 @@
|
||||
extend templates/layout.pug
|
||||
|
||||
block content
|
||||
.container
|
||||
.center
|
||||
h1 Languages of #{project.name}
|
||||
|
||||
.row
|
||||
.col.s12
|
||||
form.row(action=`/projects/${project.id}/languages/add`, method="post")
|
||||
|
||||
.col.s12.input-field
|
||||
i.material-icons.prefix record_voice_over
|
||||
input#dialect-autocomplete.autocomplete(type="text", name="dialect", required, autocomplete="off")
|
||||
label(for="dialect-autocomplete") Dialect which this projects translations will be made in.
|
||||
.col.s12
|
||||
button.btn.black(type="submit") add language
|
||||
|
||||
|
||||
block additionalScripts
|
||||
script
|
||||
include js/init-dialect-autocomplete.js
|
||||
Reference in New Issue
Block a user