feature: project picture
This commit is contained in:
@ -35,6 +35,16 @@ div.content-box__info
|
||||
next='project-information'
|
||||
)
|
||||
|
||||
h2 PPhoto du projet
|
||||
|
||||
sib-form.form-picture(
|
||||
bind-resources
|
||||
fields='customer.logo'
|
||||
widget-customer.logo="hubl-user-avatar"
|
||||
submit-button='Edit'
|
||||
next='project-picture'
|
||||
)
|
||||
|
||||
h2 Liste des membres :
|
||||
|
||||
sib-form.block.select-add-member(
|
||||
|
14
src/views/project/page-project-picture.pug
Normal file
14
src/views/project/page-project-picture.pug
Normal file
@ -0,0 +1,14 @@
|
||||
div.content-box__info
|
||||
|
||||
sib-link(class='backlink right', bind-resources, next='project-edit') Retour
|
||||
|
||||
h1 Modifier l'image du projet
|
||||
|
||||
sib-picture(
|
||||
bind-resources
|
||||
upload-src=`${endpoints.uploads || endpoints.post.uploads}`
|
||||
upload-id="sib-project-edit-picture"
|
||||
nested-fields='customer'
|
||||
fields='logo'
|
||||
next='project-edit'
|
||||
)
|
Reference in New Issue
Block a user