% n = 1 %>
<%= all_features_link %>
<% n = n == 2 ? 1 : 2 %>
<% @items.each do |feature| %>
<%= "" unless feature.scenarios.empty? %>
<%= linkify feature, feature.value %>
<%= feature.location %>
<% n = n == 2 ? 1 : 2 %>
<% if feature.scenarios %>
<% feature.scenarios.each_with_index do |scenario,index| %>
-
">
<%= h scenario.value %>
<%= scenario.location %>
<% n = n == 2 ? 1 : 2 %>
<% end %>
<% end %>
<% end %>