summaryrefslogtreecommitdiffstats
path: root/webapp/components/form_error.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/form_error.jsx')
-rw-r--r--webapp/components/form_error.jsx10
1 files changed, 10 insertions, 0 deletions
diff --git a/webapp/components/form_error.jsx b/webapp/components/form_error.jsx
index b3ac3fef0..e8c3d1e98 100644
--- a/webapp/components/form_error.jsx
+++ b/webapp/components/form_error.jsx
@@ -43,6 +43,16 @@ export default class FormError extends React.Component {
return null;
}
+ if (this.props.type === 'modal') {
+ return (
+ <div className='form-group'>
+ <label className='col-sm-12 has-error'>
+ {message}
+ </label>
+ </div>
+ );
+ }
+
if (this.props.type === 'backstage') {
return (
<div className='pull-left has-error'>