Browse Source

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

master
Jonathan Rosenbaum 1 year 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 -#- 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

Loading…
Cancel
Save