module SimpleForm::Components::Readonly
def readonly(wrapper_options = nil)
def readonly(wrapper_options = nil) if readonly_attribute? && !has_readonly? input_html_options[:readonly] ||= true input_html_classes << :readonly end nil end
def readonly(wrapper_options = nil) if readonly_attribute? && !has_readonly? input_html_options[:readonly] ||= true input_html_classes << :readonly end nil end