# File femto.rb, line 321 def show_board(q) section_counter = 0 femto_page(q) { item_post_form(q, $its.sections) + $its.sections.collect { |sect| section_counter = section_counter + 1 q.div('class' => "section_#{section_counter} section") { q.h2() { sect } + $its.items_in_section(sect).collect { |item| render_item(q, item, q['showid']) }.join("\n") } }.join("\n") } end