Sha256: 2ddcec9fe19198a00b617935cefd6533c51a10e25a8f3d710d41b255fcbd60bc
Contents?: true
Size: 713 Bytes
Versions: 1
Compression:
Stored size: 713 Bytes
Contents
<% records.select {|record| record.parent_category_id == id }.each do |current_record| %> <div<% if id %> class="nested" style="display: none" <% end %>> <% child_records = records.select {|record| record.parent_category_id == current_record.id} %> <span class="nesting <% unless child_records.empty? %>collapsed<% end %>"></span> <span class="checkbox_with_label checked" id="<%= "inkwell_#{selector_id}_checkbox_#{current_record.id}" %>"><%= current_record.name %></span> <%= render :partial => 'default_partials/multi_selector_items', :locals => {:records => records, :id => current_record.id, :selector_id => selector_id} unless child_records.empty? %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
inkwell_timelines-1.0.0 | app/views/default_partials/_multi_selector_items.html.erb |