From 1e96f8b250380b892a4b2200e4e61f39183d6ea3 Mon Sep 17 00:00:00 2001 From: Laura Ghiorghisor Date: Wed, 4 Oct 2023 11:44:56 +0100 Subject: [PATCH] Add hint text to preview We are filtering out all files and images that have variants which are still uploading. Adding a bit of text to describe this situation to the users. --- app/views/admin/editions/_standard_fields.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/admin/editions/_standard_fields.html.erb b/app/views/admin/editions/_standard_fields.html.erb index 83acdce70a1..0d53b6ed679 100644 --- a/app/views/admin/editions/_standard_fields.html.erb +++ b/app/views/admin/editions/_standard_fields.html.erb @@ -53,6 +53,7 @@ <%= render "components/govspeak-editor", { label: { text: "Body" + "#{' (required)' if form.object.body_required?}", + hint_text: "If your attachment is still being processed, it will not be visible in preview.", heading_size: "l", }, name: "edition[body]",