Files
mantra.press/server/views/project-language-form.pug

22 lines
810 B
Plaintext

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