Module: Meshcomplete::ActionViewExtension::InstanceMethods
- Defined in:
- lib/meshcomplete/action_view_extension.rb
Instance Method Summary collapse
Instance Method Details
#meshcomplete(ids) ⇒ Object
5 6 7 |
# File 'lib/meshcomplete/action_view_extension.rb', line 5 def meshcomplete(ids) "<div id=\"meshcomplete-box\"><input id=\"meshcomplete\" placeholder=\"Search topics\"/><span id=\"meshcomplete-clear\" title=\"Clear search\">×</span><input type=\"hidden\" id=\"meshcomplete-selected-ids\" value=\"#{ids}\"/></div><div id=\"meshcomplete-update\"></div>".html_safe end |