Skip to content

Commit

Permalink
Merge pull request #410 from alphagov/move-description
Browse files Browse the repository at this point in the history
Move description above documents
  • Loading branch information
fofr authored Jul 27, 2017
2 parents 25b51f7 + dce644c commit 6fcacf0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions app/views/content_items/consultation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,17 @@
</section>
<% end %>

<div class="grid-row sidebar-with-body">
<div class="column-third">
<h1 class="section-title" id="description-title">
Consultation description
</h1>
</div>
<div class="column-two-thirds" aria-labelledby="description-title">
<%= render 'govuk_component/govspeak', @content_item.govspeak_body %>
</div>
</div>

<% if @content_item.documents? %>
<div class="grid-row sidebar-with-body">
<div class="column-third">
Expand All @@ -146,17 +157,6 @@
</div>
<% end %>

<div class="grid-row sidebar-with-body">
<div class="column-third">
<h1 class="section-title" id="description-title">
Consultation description
</h1>
</div>
<div class="column-two-thirds" aria-labelledby="description-title">
<%= render 'govuk_component/govspeak', @content_item.govspeak_body %>
</div>
</div>

<% if @content_item.ways_to_respond? %>
<div class="grid-row sidebar-with-body">
<div class="column-third">
Expand Down

0 comments on commit 6fcacf0

Please sign in to comment.