1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 00:28:00 +02:00

Bring over missed changes for cyland for changes to form utils

This commit is contained in:
Brett Sun 2015-11-02 15:36:18 +01:00
parent a0ebc7dc58
commit 8540e3de36

View File

@ -220,7 +220,12 @@ let CylandRegisterPiece = React.createClass({
<Col xs={12} sm={10} md={8} smOffset={1} mdOffset={2}>
<LoanForm
loanHeading={getLangText('Loan to Cyland archive')}
message={getAclFormMessage('acl_loan', '\"' + this.state.piece.title + '\"', this.state.currentUser.username)}
message={getAclFormMessage({
aclName: 'acl_loan',
entities: this.state.piece,
isPiece: true,
senderName: this.state.currentUser.username
})}
id={{piece_id: this.state.piece.id}}
url={ApiUrls.ownership_loans_pieces}
email={this.state.whitelabel.user}