Sha256: 46e1272b0000b2d5caf2098c9be16111cc4549d0af6938a3421aa0c944844e79

Contents?: true

Size: 388 Bytes

Versions: 10

Compression:

Stored size: 388 Bytes

Contents

module TaoForm
  module Components
    module MomentPicker
      module Segments
        class YearSegmentComponent < Base

          def self.component_name
            :moment_picker_year_segment
          end

          private

          def default_options
            super.merge({label_format: t(:label, year: '{{ year }}')})
          end

        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tao_form-0.1.9 lib/tao_form/components/moment_picker/segments/year_segment_component.rb
tao_form-0.1.8 lib/tao_form/components/moment_picker/segments/year_segment_component.rb
tao_form-0.1.7 lib/tao_form/components/moment_picker/segments/year_segment_component.rb
tao_form-0.1.6 lib/tao_form/components/moment_picker/segments/year_segment_component.rb
tao_form-0.1.5 lib/tao_form/components/moment_picker/segments/year_segment_component.rb
tao_form-0.1.4 lib/tao_form/components/moment_picker/segments/year_segment_component.rb
tao_form-0.1.3 lib/tao_form/components/moment_picker/segments/year_segment_component.rb
tao_form-0.1.2 lib/tao_form/components/moment_picker/segments/year_segment_component.rb
tao_form-0.1.1 lib/tao_form/components/moment_picker/segments/year_segment_component.rb
tao_form-0.1.0 lib/tao_form/components/moment_picker/segments/year_segment_component.rb