Sha256: 9e6630e3a06f8a9ec64c2c6f202e067815a0b29b89f059b50e851bdf4d1d32a2
Contents?: true
Size: 597 Bytes
Versions: 9
Compression:
Stored size: 597 Bytes
Contents
# frozen_string_literal: true module Archangel ## # META keywords custom input for SimpleForm # class MetaKeywordsInput < SimpleForm::Inputs::Base ## # Build input field # # @param wrapper_options [Hash] the wrapper options # def input(wrapper_options = nil) merged_input_options = merge_wrapper_options(input_html_options, wrapper_options) @builder.text_field(attribute_name, merged_input_options) end ## # Add `meta_keywords` as an HTML class # def input_html_classes super.push("meta_keywords") end end end
Version data entries
9 entries across 9 versions & 1 rubygems