creation date and edit button: OK + form's save button ok

This commit is contained in:
Gaëlle Morin 2019-11-06 18:44:02 +01:00
parent d9db053ed2
commit d4b4a176cd
4 changed files with 25 additions and 17 deletions

View File

@ -37,7 +37,7 @@ div.content-box__info
h1 Edit your circle
sib-form.block(
sib-form.block.circle-edit-form(
bind-resources
fields='block-circle__info(name, owner), description'

View File

@ -7,18 +7,16 @@ sib-router(default-route='circle-profile')
.content-box__info
.space-between
div
sib-display.testblock(
bind-resources
fields='creationDateSet(title, creationDate)'
sib-display(
bind-resources
fields='creationDateSet(title, creationDate)'
value-title='Creation date:'
value-title='Creation date:'
widget-creationDate='sib-display-date'
)
div
sib-ac-checker.testblock.circle-edit-button(permission='acl:Write', bind-resources)
sib-link.button.text-bold.text-uppercase.reversed.button-blue.bordered.with-icon.icon-pencil(next='circle-edit', bind-resources) Edit and add Members
widget-creationDate='sib-display-date'
)
sib-ac-checker.testblock.circle-edit-button(permission='acl:Write', bind-resources)
sib-link.button.text-bold.text-uppercase.reversed.button-blue.bordered.with-icon.icon-pencil(next='circle-edit', bind-resources) Edit and add Members
h2(name="label-team") Members:

View File

@ -417,3 +417,18 @@ a,
}
}
}
.circle-edit-form>form {
input[type='submit'] {
@extend
.button,
.text-bold,
.text-uppercase,
.reversed,
.button-dark,
.bordered;
margin-left: auto;
margin-top: 3.2rem;
}
}

View File

@ -17,11 +17,6 @@
text-align: right;
display: block;
}
.circle-edit-button {
align-self: flex-end;
position: absolute;
}
}
.box-button {