mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-13 07:36:21 +00:00
Alert for error invoking functions
This commit is contained in:
parent
f86cf22c39
commit
4e5e5260f9
@ -86,6 +86,11 @@ class {{capitalize name}}Form{{@index}} extends React.Component {
|
||||
render(){
|
||||
return <div className="formSection">
|
||||
<h3>{{name}}</h3>
|
||||
{
|
||||
this.state.error != null ?
|
||||
<Alert bsStyle="danger">{this.state.error}</Alert>
|
||||
: ''
|
||||
}
|
||||
<form>
|
||||
{{#if inputs.length}}
|
||||
{{#each inputs}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user