Sha256: cd26703d9c3cf1cca7b51a41b0f00888488757411dc03cacd84a2c0b095a6010
Contents?: true
Size: 502 Bytes
Versions: 3
Compression:
Stored size: 502 Bytes
Contents
# DOC: # We use Helper Methods for tree building, # because it's faster than View Templates and Partials # SECURITY note # Prepare your data on server side for rendering # or use h.html_escape(node.content) # for escape potentially dangerous content module JquerySortableTreeHelper module RenderTreeHelper class Render < JquerySortableTreeHelper::RenderSortableTreeHelper::Render def div_item h.content_tag(:div, show_link, class: :item) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems