Browse Source

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

master
Jonathan Rosenbaum 10 months ago
parent
commit
e1dcc065c6
  1. 6
      app/views/application/_contact.html.haml

6
app/views/application/_contact.html.haml

@ -1,6 +1,6 @@
- contact_reason ||= nil
- locale ||= nil
= form_tag (locale.present? ? contact_send_url : url_for_locale(locale, contact_send_path)), class: 'contact-form' do
-#- contact_reason ||= nil
-#- locale ||= nil
-#= 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?
- if contact_reason.present?
= hidden_field_tag :reason, contact_reason

Loading…
Cancel
Save