Module: Hyrax::ContactFormHelper
- Included in:
- HyraxHelperBehavior
- Defined in:
- app/helpers/hyrax/contact_form_helper.rb
Overview
Helpers for displaying Hyrax’s default contact form.
Instance Method Summary collapse
-
#contact_form_issue_type_options ⇒ Array<String>
Provides the “issue type” options for the contact form dropdown.
Instance Method Details
#contact_form_issue_type_options ⇒ Array<String>
Note:
this helper should always provide i18nized values.
Provides the “issue type” options for the contact form dropdown. The response should be compatible with ActionView’s ‘options_for_select` helper.
19 20 21 |
# File 'app/helpers/hyrax/contact_form_helper.rb', line 19 def Hyrax::ContactForm.issue_types_for_locale.dup end |