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

Version Path
irwi_mod-0.0.2 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi_mod-0.0.1 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.4.2 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.4.1 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.4.0 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.2.4 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.2.3 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.2.2 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.2.1 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.2.0 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.1.11 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.1.10 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.1.9 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.1.7 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.1.6 app/views/base_wiki_pages/_wiki_page_history.html.erb
irwi-0.1.5 app/views/base_wiki_pages/_wiki_page_history.html.erb