From 8d2bd155f338ced3c0d4bc530c56a3fca5ac43e9 Mon Sep 17 00:00:00 2001 From: Earlopain Date: Wed, 5 Jan 2022 12:50:57 +0100 Subject: [PATCH] [Replacements] Show placeholder text when no reason provided --- app/views/post_replacements/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/post_replacements/index.html.erb b/app/views/post_replacements/index.html.erb index c8db25aa7..0381b552a 100644 --- a/app/views/post_replacements/index.html.erb +++ b/app/views/post_replacements/index.html.erb @@ -68,7 +68,7 @@
Status
<%= post_replacement.status %>
Reason
-
<%= post_replacement.reason %>
+
<%= post_replacement.reason.present? ? post_replacement.reason : "None provided" %>
<% if post_replacement.status == 'approved' %>
Original Uploader