From 6eb430bb2fecb3cc0bbb365a3e576b6ce1dbf84c Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 4 Jan 2024 12:06:13 +0000 Subject: [PATCH] lint: erblinting --- app/views/home/index.html.erb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 74ef1617f..31f47e75d 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -7,34 +7,34 @@
- <% if @current_user.support? || (@current_user.data_coordinator? && @current_user.sales_logs.present?)%> + <% if @current_user.support? || (@current_user.data_coordinator? && @current_user.sales_logs.present?) %>
- <%= render partial: "home/data_box", locals: {type: "lettings"} %> + <%= render partial: "home/data_box", locals: { type: "lettings" } %>
- <%= render partial: "home/data_box", locals: {type: "sales"} %> + <%= render partial: "home/data_box", locals: { type: "sales" } %>
- <%= render partial: "home/data_box", locals: {type: "schemes"} %> + <%= render partial: "home/data_box", locals: { type: "schemes" } %>
<% else %>
- <%= render partial: "home/data_box", locals: {type: "lettings"} %> + <%= render partial: "home/data_box", locals: { type: "lettings" } %>
<% if @current_user.data_coordinator? %>
- <%= render partial: "home/data_box", locals: {type: "schemes"} %> + <%= render partial: "home/data_box", locals: { type: "schemes" } %>
<% elsif @current_user.sales_logs.present? %>
- <%= render partial: "home/data_box", locals: {type: "sales"} %> + <%= render partial: "home/data_box", locals: { type: "sales" } %>
<% else %>
- <%= render partial: "home/data_box", locals: {type: "misc"} %> + <%= render partial: "home/data_box", locals: { type: "misc" } %>
<% end %>