lib/generators/scrivito/widget/templates/details.html.erb in scrivito_sdk-1.1.1 vs lib/generators/scrivito/widget/templates/details.html.erb in scrivito_sdk-1.2.0.rc1
- old
+ new
@@ -1,2 +1,4 @@
-This is the details view of the <%= human_name %>.
-Edit "app/views/<%= file_name %>/details.html.erb" to change its appearance.
+<%%= scrivito_medium_dialog do %>
+ <%%= scrivito_details_for <%= class_name %>.description_for_editor do %>
+ <%% end %>
+<%% end %>