Sha256: 5e7c26988c9ce9693ae8083195dd86cf9b862c3220851cea0ba2eaa9cadb1261
Contents?: true
Size: 668 Bytes
Versions: 5
Compression:
Stored size: 668 Bytes
Contents
# -*- encoding: utf-8 -*- # -*- frozen_string_literal: true -*- # -*- warn_indent: true -*- module RailsBootstrapForm module Inputs module WeekdaySelect extend ActiveSupport::Concern included do def weekday_select(attribute, options = {}, html_options = {}, &block) bootstrap = bootstrap_form_options.scoped(options.delete(:bootstrap)) return super if bootstrap.disabled? bootstrap.set_field_class!("form-select") field_wrapper_builder(attribute, bootstrap, options, html_options) do super(attribute, options, html_options, &block) end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems