|
@ -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 |
|
|