Sha256: cad600194a56325735fa3c55d6616e46ba51b46844ff77a40fbae4842840b558

Contents?: true

Size: 480 Bytes

Versions: 4

Compression:

Stored size: 480 Bytes

Contents

<%- filters = Corkboard.interests[:filters] %>

<nav class="corkboard filters">
  <%= content_tag(:ul, attributes_for(:filters_list)) do %>
    <%= content_tag(:li, attributes_for(:filters_item, :class => :active)) do %>
      <a href="#all" class="all">all</a>
    <%- end -%>

    <%- filters.each do |filter| -%>
    <%= content_tag(:li, attributes_for(:filters_item)) do %>
      <a href="#<%= filter %>"><%= filter %></a>
    <%- end -%>
    <%- end -%>
  <%- end -%>
</nav>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
corkboard-0.1.3 app/views/corkboard/board/_filters.html.erb
corkboard-0.1.2 app/views/corkboard/board/_filters.html.erb
corkboard-0.1.1 app/views/corkboard/board/_filters.html.erb
corkboard-0.1.0 app/views/corkboard/board/_filters.html.erb