decidim-budgets/app/views/decidim/budgets/projects/show.html.erb in decidim-0.0.4 vs decidim-budgets/app/views/decidim/budgets/projects/show.html.erb in decidim-0.0.5
- old
+ new
@@ -1,6 +1,9 @@
-<% provide(:title, translated_attribute(project.title)) %>
+<% add_decidim_meta_tags(
+ title: translated_attribute(project.title),
+ description: translated_attribute(project.description)
+) %>
<div class="row column view-header">
<% if current_user.present? %>
<%= render partial: "budget_summary", locals: { include_heading: false } %>
<% end %>
@@ -32,13 +35,9 @@
</div>
<%= linked_resources_for project, :proposals, "included_proposals" %>
</div>
</div>
-<%= content_for :expanded do %>
- <% if feature_settings.comments_always_enabled || current_settings.comments_enabled %>
- <%= comments_for project, votable: true %>
- <% end %>
-<% end %>
+<%= comments_for project %>
<%= attachments_for project %>
<%= javascript_include_tag("decidim/budgets/projects") %>