Class: Shoelace::Rails::Ui::FormHelper::ShoelaceTextArea
- Inherits:
-
ActionView::Helpers::Tags::TextArea
- Object
- ActionView::Helpers::Tags::TextArea
- Shoelace::Rails::Ui::FormHelper::ShoelaceTextArea
- Defined in:
- app/helpers/shoelace/rails/ui/form_helper.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#content_tag(tag_name, content, options) ⇒ Object
90 91 92 93 94 |
# File 'app/helpers/shoelace/rails/ui/form_helper.rb', line 90 def content_tag(tag_name, content, ) [:value] = content if content.present? tag_name.to_s == 'textarea' ? super('sl-textarea', '', ) : super end |