+ )
+ }
+}
+
+export default MyComponent
{ render 'script' }
diff --git a/views/doorkeeper/applications/index.html.erb b/views/doorkeeper/applications/index.html.erb
index 7eadf6c9..43fa694b 100644
--- a/views/doorkeeper/applications/index.html.erb
+++ b/views/doorkeeper/applications/index.html.erb
@@ -1,3 +1,8 @@
+import React, { Component } from react
+
+class MyComponent extends Component {
+ render = () => {
+ return (
@@ -25,4 +30,9 @@
{ link_to t('.new'), new_oauth_application_path, className: 'button link-button' }
+ )
+ }
+}
+
+export default MyComponent
{ render 'script' }
diff --git a/views/doorkeeper/applications/new.html.erb b/views/doorkeeper/applications/new.html.erb
index 1dc9832d..6bf279de 100644
--- a/views/doorkeeper/applications/new.html.erb
+++ b/views/doorkeeper/applications/new.html.erb
@@ -1,3 +1,8 @@
+import React, { Component } from react
+
+class MyComponent extends Component {
+ render = () => {
+ return (
{ link_to t('doorkeeper.applications.buttons.back'), oauth_applications_path(), className: 'button link-button button-margin' }
@@ -8,4 +13,9 @@
{ render 'form', application: @application }
+ )
+ }
+}
+
+export default MyComponent
{ render 'script' }
diff --git a/views/doorkeeper/applications/show.html.erb b/views/doorkeeper/applications/show.html.erb
index ddc8b853..cdb0b379 100644
--- a/views/doorkeeper/applications/show.html.erb
+++ b/views/doorkeeper/applications/show.html.erb
@@ -1,3 +1,8 @@
+import React, { Component } from react
+
+class MyComponent extends Component {
+ render = () => {
+ return (
@@ -34,4 +39,9 @@
{ render 'delete_form', application: @application, submit_btn_css: 'button red-button' }
+ )
+ }
+}
+
+export default MyComponent
{ render 'script' }
diff --git a/views/doorkeeper/authorizations/error.html.erb b/views/doorkeeper/authorizations/error.html.erb
index 26b43c50..d3508def 100644
--- a/views/doorkeeper/authorizations/error.html.erb
+++ b/views/doorkeeper/authorizations/error.html.erb
@@ -1,3 +1,8 @@
+import React, { Component } from react
+
+class MyComponent extends Component {
+ render = () => {
+ return (
+ )
+ }
+}
+
+export default MyComponent
diff --git a/views/doorkeeper/authorizations/new.html.erb b/views/doorkeeper/authorizations/new.html.erb
index ad8d95b9..d87526ee 100644
--- a/views/doorkeeper/authorizations/new.html.erb
+++ b/views/doorkeeper/authorizations/new.html.erb
@@ -1,3 +1,8 @@
+import React, { Component } from react
+
+class MyComponent extends Component {
+ render = () => {
+ return (
+ )
+ }
+}
+
+export default MyComponent
diff --git a/views/doorkeeper/authorizations/show.html.erb b/views/doorkeeper/authorizations/show.html.erb
index fefe9615..98e5e4c3 100644
--- a/views/doorkeeper/authorizations/show.html.erb
+++ b/views/doorkeeper/authorizations/show.html.erb
@@ -1,3 +1,8 @@
+import React, { Component } from react
+
+class MyComponent extends Component {
+ render = () => {
+ return (
+ )
+ }
+}
+
+export default MyComponent
diff --git a/views/doorkeeper/authorized_applications/index.html.erb b/views/doorkeeper/authorized_applications/index.html.erb
index 2d6ccc28..7a7431ab 100644
--- a/views/doorkeeper/authorized_applications/index.html.erb
+++ b/views/doorkeeper/authorized_applications/index.html.erb
@@ -1,3 +1,8 @@
+import React, { Component } from react
+
+class MyComponent extends Component {
+ render = () => {
+ return (
+ )
+ }
+}
+
+export default MyComponent
{ render 'script' }
diff --git a/views/metacode_sets/edit.html.erb b/views/metacode_sets/edit.html.erb
index 3366a139..ee09dc98 100644
--- a/views/metacode_sets/edit.html.erb
+++ b/views/metacode_sets/edit.html.erb
@@ -1,8 +1,18 @@
+import React, { Component } from react
+
+class MyComponent extends Component {
+ render = () => {
+ return (
+ )
+ }
+}
+
+export default MyComponent