mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Bring over missed changes for cyland for changes to form utils
This commit is contained in:
parent
a0ebc7dc58
commit
8540e3de36
@ -220,7 +220,12 @@ let CylandRegisterPiece = React.createClass({
|
|||||||
<Col xs={12} sm={10} md={8} smOffset={1} mdOffset={2}>
|
<Col xs={12} sm={10} md={8} smOffset={1} mdOffset={2}>
|
||||||
<LoanForm
|
<LoanForm
|
||||||
loanHeading={getLangText('Loan to Cyland archive')}
|
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}}
|
id={{piece_id: this.state.piece.id}}
|
||||||
url={ApiUrls.ownership_loans_pieces}
|
url={ApiUrls.ownership_loans_pieces}
|
||||||
email={this.state.whitelabel.user}
|
email={this.state.whitelabel.user}
|
||||||
|
Loading…
Reference in New Issue
Block a user