Class: Skyline::Editors::Textile
- Inherits:
-
Editor
- Object
- Editor
- Skyline::Editors::Textile
- Defined in:
- app/helpers/skyline/editors/textile.rb
Instance Method Summary collapse
Instance Method Details
#output_without_errors ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'app/helpers/skyline/editors/textile.rb', line 2 def output_without_errors text_area_tag( input_name(self.attribute_names), field.value(record), :rows => 8, :cols => 50, :class => "textile", :style => params_to_styles(field.style) ) + content_tag("div", "You can use textile syntax to format your text. See <a href=\"http://hobix.com/textile/\" target=\"_blank\">the syntax rules for help</a>.") end |