feature: Add description on project creation

This commit is contained in:
Fabien Quatravaux
2021-01-14 15:19:05 +01:00
committed by Jean-Baptiste Pasquier
parent e83a3371e6
commit c95213ee55
3 changed files with 13 additions and 2 deletions

View File

@ -12,7 +12,7 @@ div.content-box__info.flex
solid-form.form.button-register(
data-src=`${endpoints.projects || endpoints.post.projects}`
fields='status, line-1(customer.name, name), line-2(captain)'
fields='status, line-1(customer.name, name), description, help, line-2(captain)'
required-status
required-customer.name
required-name
@ -30,6 +30,13 @@ div.content-box__info.flex
label-name=''
class-name='form-label is-light is-half-width input-text-like'
label-description=''
widget-description='solid-form-textarea-label'
class-description='form-label is-light input-text-like'
value-help=''
widget-help='solid-display-value'
class-help='is-small'
label-captain=''
range-captain=`${endpoints.users || endpoints.get.users}`
class-captain='form-label is-light is-half-width'
@ -41,5 +48,5 @@ div.content-box__info.flex
submit-button=''
data-trans='label-status=project.create.labelStatus;label-customer.name=project.create.labelCustomer;label-name=project.create.labelName;label-captain=project.create.labelCaptain;submit-button=project.create.buttonSubmit'
data-trans='label-status=project.create.labelStatus;label-customer.name=project.create.labelCustomer;label-name=project.create.labelName;label-captain=project.create.labelCaptain;submit-button=project.create.buttonSubmit;label-description=project.create.labelDescription;value-help=project.create.descriptionHelp'
)