hubl/src/page-circle-edit.pug

50 lines
1.1 KiB
Plaintext
Raw Normal View History

#circle-edit.content-box.with-padding.with-form.full-width
sib-widget(name='circle-team-template')
template
2019-10-18 13:39:56 +00:00
div(name='team')
div(name='user.thumb')
span ${await value.name}
sib-display(
data-src="${await value.groups}",
fields='name'
)
span ${await value.profile.city}
sib-delete(
data-src="${await value['@id']}"
2019-10-21 11:12:04 +00:00
data-label='Delete from circle'
resourceDeleted=''
)
h1 Edit your circle
sib-form.block(
bind-resources
2019-10-15 10:14:54 +00:00
2019-10-21 09:37:07 +00:00
fields='block-circle__info(name, owner), description'
range-owner=`${endpoints.users}`
2019-10-21 09:37:07 +00:00
label-owner='owner'
class-name='form-label is-light is-half-width'
2019-10-21 09:37:07 +00:00
class-owner='form-label is-light is-half-width member-select'
class-description='form-label is-light is-full-width'
2019-10-21 09:37:07 +00:00
widget-owner='sib-form-auto-completion'
widget-description='sib-form-textarea'
)
h3 List of members
2019-10-17 14:06:22 +00:00
div.table
div.cell.un Name
div.cell.deux Status
sib-display(
bind-resources
fields='team'
multiple-team=''
widget-team='circle-team-template'
)