1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

tabs inserted in jsx

This commit is contained in:
Cevo 2015-09-07 14:30:45 +02:00
parent 501d7ac7c0
commit 1dba9196e7

View File

@ -81,8 +81,8 @@ let ContractSettings = React.createClass({
<ActionPanel title = {contract.name}
content = {contract.name}
buttons = {<span>
<button className="btn btn-default btn-sm margin-left-2px">UPDATE</button>
<button className="btn btn-default btn-sm margin-left-2px"
<button className="btn btn-default btn-sm margin-left-2px">UPDATE</button>
<button className="btn btn-default btn-sm margin-left-2px"
onClick={this.removeContract.bind(this, contract)}>REMOVE</button>
</span>}
/>);
@ -99,9 +99,9 @@ let ContractSettings = React.createClass({
<ActionPanel title = {contract.name}
content = {contract.name}
buttons = {<span> <button className="btn btn-default btn-sm margin-left-2px">UPDATE</button>
<button className="btn btn-default btn-sm margin-left-2px"
onClick={this.removeContract.bind(this, contract)}> REMOVE </button>
<button className="btn btn-default btn-sm margin-left-2px"
<button className="btn btn-default btn-sm margin-left-2px"
onClick={this.removeContract.bind(this, contract)}> REMOVE </button>
<button className="btn btn-default btn-sm margin-left-2px"
onClick={this.makeContractPublic.bind(this, contract)}>MAKE PUBLIC</button> </span>}
/>);
}