+ <% page.attributes.each do |title, attributes| %>
+
<% end %>
@@ -69,13 +77,15 @@ as well as a link to its edit page.
<% end %>
- <% account_user_page.attributes.each do |attribute| -%>
- <% if attribute.name == "account" %>
- <%= f.hidden_field('account_id', value: page.resource.id) %>
- <% else %>
-
+ <% end %>
<% end %>
<% end -%>
diff --git a/app/views/super_admin/users/show.html.erb b/app/views/super_admin/users/show.html.erb
index 37a79b121..a5bc2bf39 100644
--- a/app/views/super_admin/users/show.html.erb
+++ b/app/views/super_admin/users/show.html.erb
@@ -34,16 +34,24 @@ as well as a link to its edit page.
+ <% page.attributes.each do |title, attributes| %>
+
<% end %>
@@ -69,14 +77,16 @@ as well as a link to its edit page.
<% end %>
- <% account_user_page.attributes.each do |attribute| -%>
- <% if attribute.name == "user" %>
- <%= f.hidden_field('user_id', value: page.resource.id) %>
- <% else %>
-
- <%= render_field attribute, f: f %>
-
- <% end %>
+ <% account_user_page.attributes.each do |title, attributes| -%>
+ <% attributes.each do |attribute| %>
+ <% if attribute.name == "user" %>
+ <%= f.hidden_field('user_id', value: page.resource.id) %>
+ <% else %>
+