Didn't realize the change was that this was commented out. Corrected.

This commit is contained in:
Jonathan Rosenbaum 2023-07-17 18:24:08 -04:00
parent 451c0addfd
commit e1dcc065c6

View File

@ -1,6 +1,6 @@
- contact_reason ||= nil -#- contact_reason ||= nil
- locale ||= nil -#- locale ||= nil
= form_tag (locale.present? ? contact_send_url : url_for_locale(locale, contact_send_path)), class: 'contact-form' do -#= form_tag (locale.present? ? contact_send_url : url_for_locale(locale, contact_send_path)), class: 'contact-form' do
= emailfield :email, nil, big: true, required: true unless logged_in? = emailfield :email, nil, big: true, required: true unless logged_in?
- if contact_reason.present? - if contact_reason.present?
= hidden_field_tag :reason, contact_reason = hidden_field_tag :reason, contact_reason