|
3 | 3 | import React from 'react'; |
4 | 4 |
|
5 | 5 | import { Form, Button } from 'carbon-components-react'; |
6 | | -import { FormItem, TextInput, Tooltip } from '@polymathnetwork/ui'; |
| 6 | +import { FormItem, TextInput, Tooltip, Grid } from '@polymathnetwork/ui'; |
7 | 7 | import { reserve } from '../../../actions/ticker'; |
8 | 8 |
|
9 | 9 | import { connect } from 'react-redux'; |
@@ -60,50 +60,52 @@ const formSchema = validator.object().shape({ |
60 | 60 |
|
61 | 61 | export const ReserveTickerFormComponent = ({ handleSubmit }) => ( |
62 | 62 | <Form onSubmit={handleSubmit}> |
63 | | - <div className="ticker-field"> |
64 | | - <FormItem name="ticker"> |
65 | | - <FormItem.Label>Enter Token Symbol</FormItem.Label> |
66 | | - <FormItem.Input |
67 | | - component={TextInput} |
68 | | - placeholder="Up to 10 characters (example: TORO-A)" |
69 | | - /> |
| 63 | + <Grid> |
| 64 | + <div className="ticker-field"> |
| 65 | + <FormItem name="ticker"> |
| 66 | + <FormItem.Label>Enter Token Symbol</FormItem.Label> |
| 67 | + <FormItem.Input |
| 68 | + component={TextInput} |
| 69 | + placeholder="Up to 10 characters (example: TORO-A)" |
| 70 | + /> |
| 71 | + <FormItem.Error /> |
| 72 | + </FormItem> |
| 73 | + </div> |
| 74 | + |
| 75 | + <FormItem name="name"> |
| 76 | + <FormItem.Label> |
| 77 | + <Tooltip triggerText="Token Name"> |
| 78 | + <p> |
| 79 | + <strong>Token Name</strong> |
| 80 | + </p> |
| 81 | + <p> |
| 82 | + This is the name of your token for display purposes. |
| 83 | + <br /> |
| 84 | + For example: Toro Token |
| 85 | + </p> |
| 86 | + </Tooltip> |
| 87 | + </FormItem.Label> |
| 88 | + <FormItem.Input component={TextInput} placeholder="Enter Token Name" /> |
70 | 89 | <FormItem.Error /> |
71 | 90 | </FormItem> |
72 | | - </div> |
73 | | - |
74 | | - <FormItem name="name"> |
75 | | - <FormItem.Label> |
76 | | - <Tooltip triggerText="Token Name"> |
77 | | - <p> |
78 | | - <strong>Token Name</strong> |
79 | | - </p> |
80 | | - <p> |
81 | | - This is the name of your token for display purposes. |
82 | | - <br /> |
83 | | - For example: Toro Token |
84 | | - </p> |
85 | | - </Tooltip> |
86 | | - </FormItem.Label> |
87 | | - <FormItem.Input component={TextInput} placeholder="Enter Token Name" /> |
88 | | - <FormItem.Error /> |
89 | | - </FormItem> |
90 | | - |
91 | | - <FormItem name="owner"> |
92 | | - <FormItem.Label> |
93 | | - <Tooltip triggerText="Issuer's ETH Address"> |
94 | | - <p> |
95 | | - <strong>Issuer's ETH Address</strong> |
96 | | - </p> |
97 | | - <p> |
98 | | - This ETH address was read from your MetaMask. Only this account will |
99 | | - be able to access dashboard and complete token issuance and STO. |
100 | | - </p> |
101 | | - </Tooltip> |
102 | | - </FormItem.Label> |
103 | | - <FormItem.Input component={TextInput} disabled /> |
104 | | - <FormItem.Error /> |
105 | | - </FormItem> |
106 | 91 |
|
| 92 | + <FormItem name="owner"> |
| 93 | + <FormItem.Label> |
| 94 | + <Tooltip triggerText="Issuer's ETH Address"> |
| 95 | + <p> |
| 96 | + <strong>Issuer's ETH Address</strong> |
| 97 | + </p> |
| 98 | + <p> |
| 99 | + This ETH address was read from your MetaMask. Only this account |
| 100 | + will be able to access dashboard and complete token issuance and |
| 101 | + STO. |
| 102 | + </p> |
| 103 | + </Tooltip> |
| 104 | + </FormItem.Label> |
| 105 | + <FormItem.Input component={TextInput} disabled /> |
| 106 | + <FormItem.Error /> |
| 107 | + </FormItem> |
| 108 | + </Grid> |
107 | 109 | <Button type="submit">Reserve token symbol</Button> |
108 | 110 | <p className="pui-input-hint"> |
109 | 111 | By registering your token symbol with Polymath you agree to our |
|
0 commit comments