From 4d409d4d766187b88c248915b7f712f56dfcfde6 Mon Sep 17 00:00:00 2001 From: Cody Swartz Date: Sun, 20 Sep 2020 21:41:29 -0700 Subject: [PATCH] Add: subject placeholder Fixes #73 --- app/views/spree/contact_us/contacts/new.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spree/contact_us/contacts/new.html.erb b/app/views/spree/contact_us/contacts/new.html.erb index fdae1bd..9d4a730 100644 --- a/app/views/spree/contact_us/contacts/new.html.erb +++ b/app/views/spree/contact_us/contacts/new.html.erb @@ -31,7 +31,7 @@ <%= f.email_field :email, class: 'required col-12 mt-3 mb-1 mb-lg-2', placeholder: true %> <% if SpreeContactUs.require_subject %> - <%= f.text_field :subject, class: 'required col-12 mt-3 mb-1 mb-lg-2' %> + <%= f.text_field :subject, class: 'required col-12 mt-3 mb-1 mb-lg-2', placeholder: true %> <% end %> <%= f.text_area :message, class: 'required col-12 mt-3 mb-3', rows: 4, placeholder: Spree.t('spree_contact_us.message_placeholder') %>