fix: data-src corrected on project-edit

This commit is contained in:
Gaëlle Morin 2019-08-06 16:11:41 +02:00
parent b2e2530800
commit 8f11703fac

View File

@ -5,25 +5,25 @@ sib-widget(name='hd-fieldset-title')
sib-widget(name='hd-project-members')
template
sib-display.member-info(
data-src='${id}',
fields='user.account.picture, user.name, name',
data-src='${id}'
fields='user.account.picture, user.name, name'
widget-user.account.picture='sib-display-img'
)
sib-widget(name='hd-member-form')
template
sib-form.member-add(
data-src='https://api.test-paris.happy-dev.fr/projects/2/',
range-user='https://api.test-paris.happy-dev.fr/users/',
nested-field='members',
fields='member-form__input(user, name)',
bind-resources
range-user=`${endpoints.users}`
nested-field='members'
fields='member-form__input(user, name)'
class-user='member-select form-label is-light is-half-width',
label-user='Member',
widget-user='sib-form-auto-completion',
class-user='member-select form-label is-light is-half-width'
label-user='Member'
widget-user='sib-form-auto-completion'
class-name='form-label is-light is-half-width',
label-name='Role',
class-name='form-label is-light is-half-width'
label-name='Role'
submit-button='Add'
)