Sha256: a7b6a9cbc636b09dedbc92a04af041a4f96be8cee206ce345ee4eaf8cb74c753

Contents?: true

Size: 566 Bytes

Versions: 9

Compression:

Stored size: 566 Bytes

Contents

<table class="tableCheckBoxOptions">
  <% list.each do |sphere| %>
    <%= raw cycle("<tr><td>", "<td>", :name => "begin_cell") %>
      <div contain="<%= dom_id(sphere) %>" class="checkboxOptionLeft">
        <input id=<%= dom_id(sphere) %> type="checkbox"/>
        <label for=<%= dom_id(sphere) %>><%=sphere.name%></label>
      </div>
    <%= raw cycle("</td>", "</td></tr>", :name => "end_cell") %>
  <% end %>

  <%= raw("</tr>") if list.size.odd? %>

</table>

<%= javascript_tag do %>
  $(function() {
    $('input[id^="sphere"]').checkBox();
  })
<% end %>

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
social_stream-base-0.6.3 app/views/spheres/_list.html.erb
social_stream-base-0.6.2 app/views/spheres/_list.html.erb
social_stream-base-0.6.1 app/views/spheres/_list.html.erb
social_stream-base-0.6.0 app/views/spheres/_list.html.erb
social_stream-base-0.5.2 app/views/spheres/_list.html.erb
social_stream-base-0.5.1 app/views/spheres/_list.html.erb
social_stream-base-0.5.0 app/views/spheres/_list.html.erb
social_stream-0.4.6 app/views/spheres/_list.html.erb
social_stream-0.4.5 app/views/spheres/_list.html.erb