Sha256: fbe68d4488f2e64f9391ca80399b4e961b5f08ea14a44674492ce8f8ef084726

Contents?: true

Size: 561 Bytes

Versions: 2

Compression:

Stored size: 561 Bytes

Contents

<div class="tags">
  <% (Cohortly::Metric.collection.distinct(:tags) - Cohortly::TagConfig.all_groups).each_slice(8) do |tags| %>
    <div class="tag_group" style="float:left; padding: 10px;">
      <% tags.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

2 entries across 2 versions & 1 rubygems

Version Path
cohortly-0.0.7 app/views/cohortly/metrics/_tags.html.erb
cohortly-0.0.6 app/views/cohortly/metrics/_tags.html.erb