From c122f9123e988b5242acae6a07f5c39aaf1fd661 Mon Sep 17 00:00:00 2001 From: Thomas Leese Date: Fri, 27 Mar 2020 13:36:26 +0000 Subject: [PATCH] Move webchat section to be above the email section There was some confusion in the last change (5b00d3e40ec26778a918be73aeb58f99f82c585f) and it looks like they would prefer the webchat section to appear above the email section (rather than above the phone section). --- app/views/content_items/contact.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/content_items/contact.html.erb b/app/views/content_items/contact.html.erb index 2b490e0c1..2c32ce8df 100644 --- a/app/views/content_items/contact.html.erb +++ b/app/views/content_items/contact.html.erb @@ -16,11 +16,6 @@
<% body = capture do %> - <% if @content_item.show_webchat? %> -

Webchat

- <%= render 'shared/webchat' %> - <% end %> - <% if @content_item.online_form_links.any? %>

Online

<% @content_item.online_form_links.each do |link| %> @@ -32,6 +27,11 @@ <%= @content_item.online_form_body %> <% end %> + <% if @content_item.show_webchat? %> +

Webchat

+ <%= render 'shared/webchat' %> + <% end %> + <% if @content_item.email.any? %>

Email

<% @content_item.email.each do |email_group| %>