Sha256: 79c80e6c57624015f8c523f787e98defa9592469319caa2eb04949464dc74366
Contents?: true
Size: 1014 Bytes
Versions: 8
Compression:
Stored size: 1014 Bytes
Contents
<table border="1" id="choices_<%= @elt.id %>" class="choices"> <caption><h2><%= @elt.subject %></h2></caption> <tr onclick="Element.remove(this.parentNode);return false;"> <th><label class="con" title="-1">V</label></th> <th><label title="0">0</label></th> <th><label class="pro" title="+1">Λ</label></th> <th style="border: none"><a href="#" class="closeChoices">X</a></th> </tr> <tr> <% (-1..1).each { |n| %> <td> <% @elt.choices.select{ |c| c.value == n }.reverse.each { |c| %> <div class="personalChoice" title="<%= c.created_on.strftime('%d/%m %H:%M') %>"> <span class="created_on"><%= c.created_on.strftime('%d/%m %H:%M') %></span> <% if c.person %> <span class="author"> <<%= link_to c.person.name, :controller => 'person', :action => 'show', :id => c.person %>> </span> <% else %> <span class="author"><<%= ANONYMOUS_POSTER %>></span> <% end %> </div> <% } %> </td> <% } %> </tr> </table>
Version data entries
8 entries across 8 versions & 1 rubygems