Skip to content

Commit

Permalink
Move webchat to the top of the page
Browse files Browse the repository at this point in the history
HMRC are experiencing high numbers of calls at the moment and we want to
make sure that people are using the webchat were possible, so move this
up to the top of the page so it becomes more visible.
  • Loading branch information
thomasleese committed Mar 27, 2020
1 parent e614258 commit 64f4fe5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/content_items/contact.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
<div class="govuk-grid-column-two-thirds">

<% body = capture do %>
<% if @content_item.show_webchat? %>
<h2 id="webchat-title">Webchat</h2>
<%= render 'shared/webchat' %>
<% end %>

<% if @content_item.online_form_links.any? %>
<h2 id="online-forms-title">Online</h2>
<% @content_item.online_form_links.each do |link| %>
Expand Down Expand Up @@ -44,11 +49,6 @@
<%= @content_item.email_body %>
<% end %>

<% if @content_item.show_webchat? %>
<h2 id="webchat-title">Webchat</h2>
<%= render 'shared/webchat' %>
<% end %>

<% if @content_item.phone.any? %>
<h2 id="phone-title">Phone</h2>
<% @content_item.phone.each do |phone_group| %>
Expand Down

0 comments on commit 64f4fe5

Please sign in to comment.