app/views/decidim/accountability/versions/show.html.erb in decidim-accountability-0.17.2 vs app/views/decidim/accountability/versions/show.html.erb in decidim-accountability-0.18.0
- old
+ new
@@ -7,13 +7,10 @@
<div class="small-12 columns">
<h2 class="heading2"><%= t(".changes_at_title", title: translated_attribute(result.title)) %></h2>
<div class="row">
<div class="mediumlarge-8 columns">
<div class="section">
- <% diff_renderer.diff.each_value do |data| %>
- <h3 class="section-heading"><%= data[:label] %></h3>
- <%= render_diff_data(data) %>
- <% end %>
+ <%= cell("decidim/diff", current_version) %>
</div>
</div>
<div class="columns section mediumlarge-4 large-3">
<div class="card extra definition-data">