Sha256: c7f3c6f8cd4ba497fa1ae1648c56879a849db35c3ef38b9f054d8a33e417b385
Contents?: true
Size: 892 Bytes
Versions: 16
Compression:
Stored size: 892 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.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
16 entries across 16 versions & 2 rubygems