From e9199bdd2b563ae0ed1abe99314614dc0e980528 Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Fri, 19 Apr 2013 13:12:16 +0000 Subject: [PATCH] Put missing required --- app/views/contact/new.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/contact/new.rhtml b/app/views/contact/new.rhtml index 0bcc195..d25937e 100644 --- a/app/views/contact/new.rhtml +++ b/app/views/contact/new.rhtml @@ -18,10 +18,10 @@ <% unless environment.enabled?('disable_select_city_for_contact') || location_fields.blank? %> <%= labelled_form_field _('City and state'), location_fields %> <% end %> - <%= f.text_field :subject %> + <%= required f.text_field(:subject) %> <%= render :file => 'shared/tiny_mce' %> - <%= f.text_area :message, :class => 'mceEditor' %> + <%= required f.text_area(:message, :class => 'mceEditor') %> <%= labelled_form_field check_box(:contact, :receive_a_copy) + _('I want to receive a copy of the message in my e-mail.'), '' %> -- libgit2 0.21.2