Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
- @pages.each do |page| %tr{ :class => inactive?(page) or cycle('alt_row','') } %td.first_col= format_time( page.created_at ) %td= link_to_page_admin_edit(page) %td= format_body( page.body ) %td= page.permalink %td.del_col= link_to_page_admin_destroy(page) - if @pages.size == 0 %tr.first_row %td.first_col %span.gray There are no pages at this time - if @page_pages %tr.header %th{:colspan => 5} %div.pagination %div.prev= link_to_previous_page(@page_pages) %div.next= link_to_next_page(@page_pages)
This paste will be private.
From the Design Piracy series on my blog: