app/views/presentations/_details.erb in presenting-2.0.0 vs app/views/presentations/_details.erb in presenting-2.0.1
- old
+ new
@@ -1,11 +1,11 @@
-<div class="presentation-details">
- <% if @details.title %>
- <h3><%= @details.title %></h3>
- <% end %>
- <dl>
- <% @details.fields.each do |field| %>
- <dt><%= field.name %></dt>
- <dd><%= present(field.value_from(@details.presentable), :raw => !field.sanitize?) %></dd>
- <% end %>
- </dl>
-</div>
+<div class="presentation-details">
+ <% if @details.title %>
+ <h3><%= @details.title %></h3>
+ <% end %>
+ <dl>
+ <% @details.fields.each do |field| %>
+ <dt><%= field.name %></dt>
+ <dd><%= present(field.value_from(@details.presentable), :raw => !field.sanitize?) %></dd>
+ <% end %>
+ </dl>
+</div>