Sha256: 2f1d47355dc9fea8de3670f20608145facc3eda7868ac99e07663abc64b7d843

Contents?: true

Size: 864 Bytes

Versions: 10

Compression:

Stored size: 864 Bytes

Contents

<% if @field %>
  <% if @id %>
    <div id='left'>
      <ul>
        <li class=<%= current_page.split(CGI.escape(@id))[1] ? '' : 'current' %>><a href="<%= u "fields/#{@field}/#{CGI.escape(@id)} " %>">Total</a></li>
        <% (tabs - [@field]).each do |t| %>
          <%= tab t, "fields/#{@field}/#{CGI.escape(@id)}" %>
        <% end %>
      </ul>
    </div>
  <% elsif @query%>
    <div id='left'>
      <ul>
        <li class=<%= current_page.split(CGI.escape(@query))[1] ? '' : 'current' %>><a href="<%= u "search/#{CGI.escape(@query) }" %>"}>Total</a></li>
        <% tabs.each do |t| %>
          <%= tab t, "search/#{CGI.escape(@query)}" %>
        <% end %>
      </ul>
    </div>
  <% else %>
    <div id='left'>
      <ul>
        <% (tabs).each do |t| %>
          <%= tab t, 'fields' %>
        <% end %>
      </ul>
    </div>
  <% end %>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
all_seeing_eye-0.0.20 lib/all_seeing_eye/server/views/left.erb
all_seeing_eye-0.0.19 lib/all_seeing_eye/server/views/left.erb
all_seeing_eye-0.0.18 lib/all_seeing_eye/server/views/left.erb
all_seeing_eye-0.0.17 lib/all_seeing_eye/server/views/left.erb
all_seeing_eye-0.0.16 lib/all_seeing_eye/server/views/left.erb
all_seeing_eye-0.0.15 lib/all_seeing_eye/server/views/left.erb
all_seeing_eye-0.0.14 lib/all_seeing_eye/server/views/left.erb
all_seeing_eye-0.0.13 lib/all_seeing_eye/server/views/left.erb
all_seeing_eye-0.0.12 lib/all_seeing_eye/server/views/left.erb
all_seeing_eye-0.0.11 lib/all_seeing_eye/server/views/left.erb