Sha256: 3c693664edd62a413e1e2e6456f6134b88696e7eb1ecfa5934854407cc958ec0
Contents?: true
Size: 900 Bytes
Versions: 6
Compression:
Stored size: 900 Bytes
Contents
<% if with_form %> <form action="<%=wiki_page_compare_path%>" method="get"> <% end %> <table class="wiki_history"> <tr class="wiki_history_header"> <td><%=wt 'Version' %></td> <td><%=wt 'Date' %></td> <td><%=wt 'Author' %></td> <td><%=wt 'Comment' %></td> </tr> <% versions.reverse.each do |v| %> <tr> <td> <%=v.number%> <% if with_form %> <input type="radio" name="old" value="<%=v.number%>" <%= 'checked="true" ' if v == versions[-1] %>/> <input type="radio" name="new" value="<%=v.number%>" <%= 'checked="true" ' if v == versions[-2] %>/> <% end %> </td> <td><%=l( v.updated_at, :format => :long ) %></td> <td><%= wiki_user( v.updator ) %></td> <td><%= v.comment %></td> </tr> <% end %> </table> <% if with_form %> <%= submit_tag wt 'Compare selected versions' %> </form> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems