Class: DrgcmsFormFields::Comment
- Inherits:
-
DrgcmsField
- Object
- DrgcmsField
- DrgcmsFormFields::Comment
- Defined in:
- app/models/drgcms_form_fields.rb
Instance Attribute Summary
Attributes inherited from DrgcmsField
Instance Method Summary collapse
-
#render ⇒ Object
Render comment field html code.
Methods inherited from DrgcmsField
get_data, #hash_to_options, #initialize, #record_text_for, #ro_standard, #set_initial_value, #set_style, #t
Constructor Details
This class inherits a constructor from DrgcmsFormFields::DrgcmsField
Instance Method Details
#render ⇒ Object
Render comment field html code
779 780 781 782 |
# File 'app/models/drgcms_form_fields.rb', line 779 def render @html << t(@yaml['comment'], @yaml['comment']) self end |