devbug/app/views/dash_v1/project.pug
2019-07-24 15:30:51 -05:00

11 lines
414 B
Plaintext

extends ./template
block content
if errors
each error in errors
p(style='color: red; font-weight: bold;') #{error}
form(method='post', enctype='multipart/form-data')
label(for='project_name') Project Name:
input#project_name(type='text', name='name' value=(project_name ? project_name : '') required autofocus)
br
br
button.btn(type='submit') #{project_name ? 'Update Project' : 'Create Project'}