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 h1 Edit your circle
sib-form.block( sib-form.block.circle-edit-form(
bind-resources bind-resources
fields='block-circle__info(name, owner), description' fields='block-circle__info(name, owner), description'

View File

@ -7,18 +7,16 @@ sib-router(default-route='circle-profile')
.content-box__info .content-box__info
.space-between .space-between
div sib-display(
sib-display.testblock( bind-resources
bind-resources fields='creationDateSet(title, creationDate)'
fields='creationDateSet(title, creationDate)'
value-title='Creation date:' value-title='Creation date:'
widget-creationDate='sib-display-date' widget-creationDate='sib-display-date'
) )
div sib-ac-checker.testblock.circle-edit-button(permission='acl:Write', bind-resources)
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
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: 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; text-align: right;
display: block; display: block;
} }
.circle-edit-button {
align-self: flex-end;
position: absolute;
}
} }
.box-button { .box-button {