Sha256: 06142aa1ca1a4c690fdb12c3ee28a0b5f6434956a16330c419e2d82a5d9117a4
Contents?: true
Size: 350 Bytes
Versions: 2
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true class FoxTail::FileInputComponent < FoxTail::InputBaseComponent def before_render super html_attributes[:class] = classnames theme.apply(:root, self), html_class html_attributes[:type] = :file end def call tag :input, html_attributes end protected def can_read_only? false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fox_tail-0.1.1 | app/components/fox_tail/file_input_component.rb |
fox_tail-0.1.0 | app/components/fox_tail/file_input_component.rb |