Sha256: 94b8d6cafc088cb52b70ac7395141a721426757be489ec69427b16b63427b54c

Contents?: true

Size: 803 Bytes

Versions: 58

Compression:

Stored size: 803 Bytes

Contents

<% if @elements && !@elements.empty? %>
  <% i = (@elements.length % 2 == 0 ? 1 : 0) %>
  <table style="margin-left: 10px; width: 100%;">
    <tr>
      <td valign='top' width="50%">
        <% @elements.each do |letter, objects| %>
          <% if (i += 1) > (@elements.length / 2 + 1) %>
          </td><td valign='top' width="50%">
            <% i = 0 %>
          <% end %>
          <ul id="alpha_<%= letter %>" class="alpha">
            <li class="letter"><%= letter %></li>
            <ul>
              <% objects.each do |obj| %>
                <li>
                  <%= linkify obj, obj.value %>
                  <small>(<%= obj.file %>)</small>
                </li>
              <% end %>
            </ul>
          </ul>
        <% end %>
      </td>
    </tr>
  </table>
<% end %>

Version data entries

58 entries across 37 versions & 6 rubygems

Version Path
yard-lucid-0.5.0 lib/templates/default/specifications/html/alpha_table.erb
yard-gherkin-turnip-1.0.2 lib/templates/default/requirements/html/alpha_table.erb
yard-gherkin-turnip-1.0.1 lib/templates/default/requirements/html/alpha_table.erb
yard-gherkin-turnip-1.0.0 lib/templates/default/requirements/html/alpha_table.erb
yard-nrser-cucumber-0.1.3 lib/templates/default/requirements/html/alpha_table.erb
yard-nrser-cucumber-0.1.2 lib/templates/default/requirements/html/alpha_table.erb
yard-nrser-cucumber-0.1.1 lib/templates/default/requirements/html/alpha_table.erb
yard-nrser-cucumber-0.1.0 lib/templates/default/requirements/html/alpha_table.erb
yard-cucumber-4.0.0 lib/templates/default/requirements/html/alpha_table.erb
yard-lucid-0.4.0 lib/templates/default/specifications/html/alpha_table.erb
yard-lucid-0.3.0 lib/templates/default/specifications/html/alpha_table.erb
yard-lucid-0.2.0 lib/templates/default/specifications/html/alpha_table.erb
yard-lucid-0.1.0 lib/templates/default/specifications/html/alpha_table.erb
yard-cucumber-3.1.0 lib/templates/default/requirements/html/alpha_table.erb
yard-cucumber-3.0.0 lib/templates/default/requirements/html/alpha_table.erb
yard-cucumber2-2.3.4 lib/templates/default/requirements/html/alpha_table.erb
yard-cucumber2-2.3.3 lib/templates/default/requirements/html/alpha_table.erb
yard-cucumber-2.3.2 lib/templates/default/featuredirectory/html/alpha_table.erb
yard-cucumber-2.3.2 lib/templates/default/requirements/html/alpha_table.erb
yard-cucumber-2.3.1 lib/templates/default/requirements/html/alpha_table.erb