Skip to content

Commit

Permalink
Update the styling of the related resources to the accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
ahukkanen committed Apr 5, 2024
1 parent 5b7b478 commit a1657fe
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions app/views/decidim/budgets/projects/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,18 @@ summary = translated_attribute(project.summary)

<%= decidim_sanitize(translated_attribute(project.description)) %>

<%= linked_resources_for project, :plans, "included_plans" %>

<%= render partial: "project_answer", locals: { project: project } %>

<%= render partial: "project_map", locals: { project: project } %>

<% if respond_to?(:linked_resources_group_for) %>
<div class="linked-resources">
<%= linked_resources_group_for(project, {
plans: "included_plans",
ideas: "included_ideas"
}) %>
</div>
<% end %>
</div>

<div class="resource__details">
Expand Down

0 comments on commit a1657fe

Please sign in to comment.