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:
@@ -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" %>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user