diff --git a/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.jsx b/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.jsx
index a0cf904ab2..53c2b55f30 100644
--- a/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.jsx
+++ b/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.jsx
@@ -179,11 +179,19 @@ class JobTemplateEdit extends Component {
const canEdit = template.summary_fields.user_capabilities.edit;
if (hasContentLoading) {
- return ;
+ return (
+
+
+
+ );
}
if (contentError) {
- return ;
+ return (
+
+
+
+ );
}
if (!canEdit) {
diff --git a/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx b/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx
index bffdf85cef..88be879390 100644
--- a/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx
+++ b/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx
@@ -7,7 +7,6 @@ import { withFormik, Field } from 'formik';
import {
Form,
FormGroup,
- Card,
Switch,
Checkbox,
TextInput,
@@ -165,19 +164,11 @@ class JobTemplateForm extends Component {
}
if (hasContentLoading) {
- return (
-
-
-
- );
+ return ;
}
if (contentError) {
- return (
-
-
-
- );
+ return ;
}
const AdvancedFieldsWrapper = template.isNew ? CollapsibleSection : 'div';
return (