Class: Tags::ActionMarkdown
- Inherits:
-
Base
- Object
- Base
- Tags::ActionMarkdown
- Includes:
- Placeholderable
- Defined in:
- app/helpers/action_markdown/tag_helper.rb
Instance Method Summary collapse
Instance Method Details
#render ⇒ Object
21 22 23 24 25 26 27 |
# File 'app/helpers/action_markdown/tag_helper.rb', line 21 def render = @options.stringify_keys ["value"] = .fetch("value") { value&.to_markdown } add_default_name_and_id() @template_object.markdown_field_tag("textarea", ["value"], .except("value")) end |