devbug/app/views/dash_v1/project.pug
2019-06-22 12:51:29 -05:00

11 lines
410 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(type='submit') #{project_name ? 'Update Project' : 'Create Project'}