From 0a6379adee03c7a6477e9f17524cbef1f3cb4782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Fri, 28 Jul 2023 13:24:16 +0200 Subject: [PATCH] Change placeholder if no autocomplete --- app/views/papers/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/papers/_form.html.erb b/app/views/papers/_form.html.erb index 58ba5be7..4e79cdb0 100644 --- a/app/views/papers/_form.html.erb +++ b/app/views/papers/_form.html.erb @@ -51,7 +51,7 @@
<%= f.label "Main subject of the paper" %> - <%= f.text_field :suggested_subject, placeholder: "Start typing and select the subject that best applies to your paper", class: "form-control", style: "margin-right: 12px;", data: {"autocomplete-target" => "input"} %> + <%= f.text_field :suggested_subject, placeholder: (JournalFeatures.tracks? ? "Start typing and select the subject that best applies to your paper" : "The subject that best applies to your paper"), class: "form-control", style: "margin-right: 12px;", data: {"autocomplete-target" => "input"} %> <%= f.hidden_field :track_id, data: {"autocomplete-target" => "hidden"} %>