Sha256: 1a3d5ceae255ed6d4ccbae1804cff675fd94b69ba6c853ece2a4740c38d84276
Contents?: true
Size: 1.02 KB
Versions: 5
Compression:
Stored size: 1.02 KB
Contents
<% n = 'odd' %> <li class="<%= n %>"> <div class="item" style="padding-left: 30px"> <%= all_features_link %> </div> </li> <% n = n == 'odd' ? 'even' : 'odd' %> <% @items.each do |feature| %> <li class="<%= n %>"> <div class="item" style="padding-left: 30px"> <%= "<a class='toggle'></a>" unless feature.scenarios.empty? %> <%= linkify feature, feature.value %> <small><%= feature.location %></small> </div> <% n = n == 'odd' ? 'even' : 'odd' %> <% if feature.scenarios %> <ul> <% feature.scenarios.each_with_index do |scenario,index| %> <li class="<%= n %>"> <div class="item" style="padding-left: 45px"> <span class='object_link'> <a href="<%= url_for(scenario.feature,"scenario_#{index}") %>" title="<%= h scenario.value %>"> <%= h scenario.value %> </a> </span> <small><%= scenario.location %></small> </div> </li> <% n = n == 'odd' ? 'even' : 'odd' %> <% end %> </ul> <% end %> </li> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems