Sha256: 1d50a637cbc808a2843980d85b6208be6f5c9483240450dcb2fe2856b67d8982

Contents?: true

Size: 899 Bytes

Versions: 1

Compression:

Stored size: 899 Bytes

Contents

<% if with_form %>
  <form action="<%=wiki_page_compare_path(@page)%>" 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

1 entries across 1 versions & 1 rubygems

Version Path
irwi-0.5.0 app/views/base_wiki_pages/_wiki_page_history.html.erb