fix: solid-ac-checker

This commit is contained in:
Jean-Baptiste Pasquier
2021-04-09 14:39:09 +02:00
parent a9c10fb196
commit 8e8af581e2
3 changed files with 81 additions and 102 deletions

View File

@ -2,8 +2,9 @@ if componentSet.has('communities') && getRoute('communities')
solid-widget(name='hubl-communities-edit-button')
template
solid-ac-checker(
no-permission='acl:Control'
permission='acl:Write'
data-src="${src}"
nested-field="profile"
)
solid-link(
class="segment sm-full button text-xsmall text-bold text-uppercase text-center reversed color-secondary bordered icon icon-pencil"

View File

@ -2,4 +2,4 @@ if componentSet.has('communities') && getRoute('communities')
solid-widget(name='hubl-communities-edit-email')
template
label(class="text-small text-semibold text-uppercase text-color-heading" data-trans="communities.edit.labelEmail")
input(type="email" label="communities.edit.labelEmail" name="profile.email" required value="\${value}" data-holder)
input(type="email" label="communities.edit.labelEmail" name="profile.email" value="\${value}" data-holder)