1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

Fix withdraw button

This commit is contained in:
vrde 2015-09-17 17:24:22 +02:00
parent 4f69f78bcd
commit 3fbf9ae7cd
2 changed files with 8 additions and 7 deletions

View File

@ -6,7 +6,6 @@ import Router from 'react-router';
import Row from 'react-bootstrap/lib/Row'; import Row from 'react-bootstrap/lib/Row';
import Col from 'react-bootstrap/lib/Col'; import Col from 'react-bootstrap/lib/Col';
import Glyphicon from 'react-bootstrap/lib/Glyphicon'; import Glyphicon from 'react-bootstrap/lib/Glyphicon';
import Button from 'react-bootstrap/lib/Button';
import UserActions from '../../actions/user_actions'; import UserActions from '../../actions/user_actions';
import UserStore from '../../stores/user_store'; import UserStore from '../../stores/user_store';
@ -43,6 +42,7 @@ import AppConstants from '../../constants/application_constants';
import { getLangText } from '../../utils/lang_utils'; import { getLangText } from '../../utils/lang_utils';
import { mergeOptions } from '../../utils/general_utils'; import { mergeOptions } from '../../utils/general_utils';
import { SubmitDangerButton } from '../../lib/buttons';
let Link = Router.Link; let Link = Router.Link;
/** /**
@ -254,11 +254,8 @@ let EditionSummary = React.createClass({
getFormData={this.getTransferWithdrawData} getFormData={this.getTransferWithdrawData}
handleSuccess={this.showNotification} handleSuccess={this.showNotification}
className='inline' className='inline'
isInline={true}> isInline={true}
<Button bsStyle="danger" className="btn-delete pull-center" bsSize="small" type="submit"> buttonSubmit={<SubmitDangerButton>WITHDRAW TRANSFER</SubmitDangerButton>} />
WITHDRAW TRANSFER
</Button>
</Form>
); );
} }
let unconsignRequestButton = null; let unconsignRequestButton = null;

View File

@ -24,3 +24,7 @@
width: 100%; width: 100%;
} }
} }
.ascribe-form.inline {
display: inline-block;
}