Unifying modal form fields to standard style; Initial setup reporting field

This commit is contained in:
James Barnsley
2018-06-06 16:54:09 +12:00
parent c27588f2f0
commit 12054ffcb4
13 changed files with 1836 additions and 1847 deletions

View File

@ -199,15 +199,17 @@ export default class EditRadioModal extends React.Component{
{this.renderSeeds()}
<div className="field text">
<span className="label">URI(s)</span>
<input
type="text"
onChange={e => this.setState({uri: e.target.value, error_message: null})}
value={this.state.uri} />
<span className="button discrete add-uri no-hover" onClick={e => this.addSeed()}>
<Icon name="add" />Add
</span>
{this.state.error_message ? <span className="description error">{this.state.error_message}</span> : null}
<div className="name">URI(s)</div>
<div className="input">
<input
type="text"
onChange={e => this.setState({uri: e.target.value, error_message: null})}
value={this.state.uri} />
<span className="button discrete add-uri no-hover" onClick={e => this.addSeed()}>
<Icon name="add" />Add
</span>
{this.state.error_message ? <span className="description error">{this.state.error_message}</span> : null}
</div>
</div>
</form>