app/helpers/hyrax/contact_form_helper.rb in hyrax-3.0.0.pre.rc3 vs app/helpers/hyrax/contact_form_helper.rb in hyrax-3.0.0.pre.rc4
- old
+ new
@@ -15,10 +15,9 @@
#
# @return [Array<String>]
#
# @see https://apidock.com/rails/ActionView/Helpers/FormOptionsHelper/options_for_select
def contact_form_issue_type_options
- types = Hyrax::ContactForm.issue_types_for_locale.dup
- types.unshift([t('hyrax.contact_form.select_type'), nil])
+ Hyrax::ContactForm.issue_types_for_locale.dup
end
end
end