Base logic for invoking send functions and showin results
This commit is contained in:
parent
cab6b889b5
commit
ca86a58244
|
@ -86,11 +86,6 @@ class {{capitalize name}}Form{{@index}} extends React.Component {
|
||||||
render(){
|
render(){
|
||||||
return <div className="formSection">
|
return <div className="formSection">
|
||||||
<h3>{{name}}</h3>
|
<h3>{{name}}</h3>
|
||||||
{
|
|
||||||
this.state.error != null ?
|
|
||||||
<Alert bsStyle="danger">{this.state.error}</Alert>
|
|
||||||
: ''
|
|
||||||
}
|
|
||||||
<form>
|
<form>
|
||||||
{{#if inputs.length}}
|
{{#if inputs.length}}
|
||||||
{{#each inputs}}
|
{{#each inputs}}
|
||||||
|
|
Loading…
Reference in New Issue