Sha256: efc398387cfffb9f268aef88b11dc05b36c87fc828722c6fceeb36e270d225ed

Contents?: true

Size: 190 Bytes

Versions: 11

Compression:

Stored size: 190 Bytes

Contents

# frozen_string_literal: true
module SimpleForm
  module Helpers
    module Autofocus
      private

      def has_autofocus?
        options[:autofocus] == true
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
simple_form-5.3.0 lib/simple_form/helpers/autofocus.rb
simple_form-5.2.0 lib/simple_form/helpers/autofocus.rb
simple_form-5.1.0 lib/simple_form/helpers/autofocus.rb
simple_form-5.0.3 lib/simple_form/helpers/autofocus.rb
simple_form-5.0.2 lib/simple_form/helpers/autofocus.rb
simple_form-5.0.1 lib/simple_form/helpers/autofocus.rb
simple_form-5.0.0 lib/simple_form/helpers/autofocus.rb
simple_form-4.1.0 lib/simple_form/helpers/autofocus.rb
simple_form-4.0.1 lib/simple_form/helpers/autofocus.rb
simple_form-4.0.0 lib/simple_form/helpers/autofocus.rb
simple_form-3.5.1 lib/simple_form/helpers/autofocus.rb