File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -68,17 +68,19 @@ as well as a link to its edit page.
68
68
</ header >
69
69
70
70
< section class ="main-content__body ">
71
- < dl >
72
- <% page . attributes . each do |attribute | %>
73
- < dt class ="attribute-label " id ="<%= attribute . name %> ">
74
- <%= t (
75
- "helpers.label.#{ resource_name } .#{ attribute . name } " ,
76
- default : attribute . name . titleize ,
77
- ) %>
78
- </ dt >
71
+ < dl >
72
+ <% page . attributes . each do |_title , attributes | %>
73
+ <% attributes . each do |attribute | %>
74
+ < dt class ="attribute-label " id ="<%= attribute &.name %> ">
75
+ <%= t (
76
+ "helpers.label.#{ resource_name } .#{ attribute &.name } " ,
77
+ default : attribute . name . titleize ,
78
+ ) %>
79
+ </ dt >
79
80
80
- < dd class ="attribute-data attribute-data-- <%= attribute . html_class %> "
81
- > <%= render_field attribute , page : page %> </ dd >
81
+ < dd class ="attribute-data attribute-data-- <%= attribute . html_class %> "
82
+ > <%= render_field attribute , page : page %> </ dd >
83
+ <% end %>
82
84
<% end %>
83
85
</ dl >
84
86
</ section >
You can’t perform that action at this time.
0 commit comments