Sha256: 4de6d6d727fcf4898989a7c48a2754aa2969c208e7bc8d77eea02be05c12303b

Contents?: true

Size: 571 Bytes

Versions: 3

Compression:

Stored size: 571 Bytes

Contents

<div class="tags">
  <% (Cohortly::Metric.collection.distinct(:tags) - Cohortly::TagConfig.all_groups).sort.each_slice(8) do |tags| %>
    <div class="tag_group" style="float:left; padding: 10px;">
      <% tags.sort.each do |tag| %>
        <div class"tag">
          <%= check_box_tag 'cohortly_metric[tags][]', tag,
          params[:cohortly_metric] && params[:cohortly_metric][:tags] &&
          params[:cohortly_metric][:tags].include?(tag) %><label><%= tag %></label>
        </div>
      <% end %>
    </div>
  <% end %>
  <div style="clear:both;"></div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cohortly-0.0.9.1 app/views/cohortly/metrics/_tags.html.erb
cohortly-0.0.9 app/views/cohortly/metrics/_tags.html.erb
cohortly-0.0.8 app/views/cohortly/metrics/_tags.html.erb