Sha256: 037f01cbc4e6ba3c3cb347cdebe4d5800719a9981f1ed3f9ba786e6f77c81e15

Contents?: true

Size: 1.46 KB

Versions: 24

Compression:

Stored size: 1.46 KB

Contents

<h1>Page Revisions</h1>
<form>
<div class="revisions older-content">
  <div class="header">
    <div class="header-actions">
    <% form_tag :action => 'versions', :id => @page, :html => { :method => :get } do %>
      View Version: <%= select_tag "version", options_from_collection_for_select(@page.versions, 'version', 'version', @version_num), {'onchange'=>'this.form.submit();'} %>
      <%= submit_tag 'Go', {'id'=>'go-btn'} %>
    <% end %>
    </div>
    Version <%= @version_num %>
  </div>
  <div class="meta">
    <label class="title"><span>Title:</span><%= @version.title %></label>
    <label><span>Slug:</span> <%= @version.slug %></label>
    <label><span>Keywords:</span> <%= @version.keywords %></label>
  </div>
  <%= @version.body.split("\n").join('<br/>') unless @version.body.nil? %>
  <div id="button-group" class="footer">
    <% form_tag :action=>'set_version', :id => @page, :version => @version_num do %>
      <%= submit_tag "Set As Current Version" %>
      or
      <%= link_to "Cancel", :action=>'index' %>
    <% end %>
  </div>
</div>

<div class="revisions current-content">
  <div class="header">
    Current Version
  </div>
  <div class="meta">
    <label class="title"><span>Title:</span><%= @page.title %></label>
    <label><span>Slug:</span> <%= @page.slug %></label>
    <label><span>Keywords:</span> <%= @page.keywords %></label>
  </div>
  <%= @page.body.split("\n").join('<br/>') unless @page.body.nil? %>
</div>

<div style="clear:both">&nbsp;</div>

Version data entries

24 entries across 24 versions & 7 rubygems

Version Path
aslakjo-aslakjo-comatose-2.0.5.1 views/comatose_admin/versions.html.erb
aslakjo-comatose-2.0.5.2 views/comatose_admin/versions.html.erb
aslakjo-comatose-2.0.5.3 views/comatose_admin/versions.html.erb
darthapo-comatose-2.0.3 views/comatose_admin/versions.html.erb
darthapo-comatose-2.0.4 views/comatose_admin/versions.html.erb
darthapo-comatose-2.0.5 views/comatose_admin/versions.html.erb
darthapo-comatose-2.0 views/comatose_admin/versions.html.erb
jcnetdev-comatose-2.0.1 views/comatose_admin/versions.html.erb
staugaard-comatose-2.0.2 views/comatose_admin/versions.html.erb
staugaard-comatose-2.0.3 views/comatose_admin/versions.html.erb
comatose-rubyisbeautiful-3.0.5 app/views/comatose/admin/versions.html.erb
comatose-rubyisbeautiful-3.0.4 app/views/comatose/admin/versions.html.erb
comatose-rubyisbeautiful-3.0.3 app/views/comatose/admin/versions.html.erb
comatose-rubyisbeautiful-3.0.2 app/views/comatose/admin/versions.html.erb
comatose-rubyisbeautiful-3.0.1 app/views/comatose/admin/versions.html.erb
comatose-rubyisbeautiful-3.0.0 app/views/comatose/admin/versions.html.erb
comatose-2.0.5 views/comatose_admin/versions.html.erb
comatose-2.0.1 views/comatose_admin/versions.html.erb
aslakjo-comatose-2.0.5.12 views/comatose_admin/versions.html.erb
aslakjo-comatose-2.0.5.11 views/comatose_admin/versions.html.erb