Class: Forme::Formatter::ReadOnly

Inherits:
Forme::Formatter show all
Defined in:
lib/forme.rb

Overview

Formatter that uses span tags with text for most input types, and disables radio/checkbox inputs.

Registered as :readonly.

Constant Summary

Constants inherited from Forme::Formatter

ATTRIBUTE_OPTIONS, CHECKBOX_MAP

Instance Attribute Summary

Attributes inherited from Forme::Formatter

#attr, #form, #input, #opts

Method Summary

Methods inherited from Forme::Formatter

call, #call