Sha256: c3ca27cdcebb12d6955f49c01546776f17ca5ee2c5290c5be15bec1af554f0ae

Contents?: true

Size: 611 Bytes

Versions: 22

Compression:

Stored size: 611 Bytes

Contents

<div class="relation">
  <%- if defined?(concept) -%>
    <% notes = concept.notes_for_class(klass) %>
    <h4><%= klass.model_name.human(:count => notes.count) %></h4>
    <div class="relation-body">
      <%= notes.any? ? render(:partial => 'partials/note/note', :collection => notes) : "-" %>
    </div>
  <%- elsif defined?(label) -%>
    <% notes = label.notes_for_class(klass) %>
    <h4><%= klass.model_name.human(:count => notes.count) %></h4>
    <div class="relation-body">
      <%= notes.any? ? render(:partial => 'partials/note/note', :collection => notes) : "-" %>
    </div>
  <%- end -%>
</div>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
iqvoc-3.2.4 app/views/partials/note/_base.html.erb
iqvoc-3.2.3 app/views/partials/note/_base.html.erb