Sha256: c5b538cef83981d5a8d8eaf72227551edec5ed5d0c0948a35231397b2a5e090f
Contents?: true
Size: 1 KB
Versions: 15
Compression:
Stored size: 1 KB
Contents
- content_for :main do %h1.analysis_icon Page '#{@page.title}' Analysis = icon_to "Back to Page Info", "/page/#{@page.id}/info" .clearfix #table(style="float: left; width: 350px;") %table(class="wider attributes") %tr %td %td(align="right") %b Count %tr %td Words %td(align="right") #{@wordcount} %tr %td Sentences %td(align="right") #{@sentencecount} %tr %td(colspan="2") - @histogram.each do |h| %tr %td = h[0] %td(align="right") = "<span class='percentage'>(#{'%.1f' % (h[1].to_f/@wordcount.to_f*100)}%)</span>".html_safe = h[1] #words.clearfix(style="float: left; width: 320px;") #cloud(style="width: 300px; height: 200px;") #searches - content_for :page_scripts do = render :partial=>"analyse", :formats=>[:js]
Version data entries
15 entries across 15 versions & 1 rubygems