update: working form + back link

This commit is contained in:
Jean-Baptiste Pasquier 2019-10-24 21:23:11 +02:00
parent a71fbf1b78
commit a4314210b4
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
3 changed files with 17 additions and 10 deletions

View File

@ -36,7 +36,7 @@ html(lang="en")
include page-circle.pug include page-circle.pug
#circle-edit(hidden).no-sidebar #circle-edit(hidden).no-sidebar
sib-link(class="backlink", bind-resources) Back sib-link(class="backlink", bind-resources, next='circle') Back
include page-circle-edit.pug include page-circle-edit.pug
#messages(hidden).with-sidebar #messages(hidden).with-sidebar

View File

@ -17,10 +17,19 @@
widget-groups='hd-user-groups' widget-groups='hd-user-groups'
) )
sib-delete( sib-ac-checker(
permission="acl:Delete"
data-src="${await value['@id']}"
)
sib-delete(
data-src="${await value['@id']}"
data-label='Leave the circle'
)
//- Only to show the table grid
sib-ac-checker(
no-permission="acl:Delete"
data-src="${await value['@id']}" data-src="${await value['@id']}"
data-label='Delete from circle'
resourceDeleted=''
) )
h1 Edit your circle h1 Edit your circle
@ -40,10 +49,12 @@
widget-owner='sib-form-auto-completion' widget-owner='sib-form-auto-completion'
widget-description='sib-form-textarea' widget-description='sib-form-textarea'
submit-button='Register' partial=''
submit-button='Save'
) )
h2 List of members h2 Members list
div.table-header div.table-header
div.cell Name div.cell Name

View File

@ -7,10 +7,6 @@ $breakpoints: (phone: 480px,
display: none !important; display: none !important;
} }
sib-ac-checker[hidden] {
display: block !important;
}
* { * {
outline: none; outline: none;
} }