Sha256: fd54e03794b8ff407a57513b60963df6b46e1d6a5744a768f55d9adc8d527268

Contents?: true

Size: 343 Bytes

Versions: 4

Compression:

Stored size: 343 Bytes

Contents

<div class="tags">
  <% Cohortly::Metric.collection.distinct(:tags).each do |tag| %>
    <span 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>
    </span>
  <% end %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cohortly-0.0.5 app/views/cohortly/metrics/_tags.html.erb
cohortly-0.0.4 app/views/cohortly/metrics/_tags.html.erb
cohortly-0.0.3 app/views/cohortly/metrics/_tags.html.erb
cohortly-0.0.2 app/views/cohortly/metrics/_tags.html.erb