Not showing the phase description in the budget header

This description of the current phase is already being displayed on the same page
in the section "Participatory budgets phases"
This commit is contained in:
decabeza
2021-05-06 12:19:30 +02:00
committed by taitus
parent 4adb7236dc
commit 090f1bcddb
2 changed files with 0 additions and 4 deletions

View File

@@ -3,9 +3,6 @@
<div class="small-12 column">
<span class="budget-title"><%= t("budgets.index.title") %></span>
<h1><%= budget.name %></h1>
<div class="description">
<%= auto_link_already_sanitized_html wysiwyg(budget.description) %>
</div>
<p>
<%= link_to t("budgets.index.section_header.help"), "#section_help" %>

View File

@@ -18,7 +18,6 @@ describe Budgets::BudgetComponent, type: :component do
within(".budget-header") do
expect(page).to have_content("PARTICIPATORY BUDGETS")
expect(page).to have_content(budget.name)
expect(page).to have_content(budget.description)
expect(page).to have_link("Help with participatory budgets")
end
end