ref: master
app/helpers/doc_helper.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
module DocHelper def display_doc(text) content_tag( 'div', wrap_main_content( render(:partial => 'path') + content_tag( 'div', text, :id => 'online-doc-text' ) ), :id => 'online-doc' ) end end