Sha256: 46c87fd50c0c93f5d83cebbce169d4af26522bb6c3e0cbbd7e6b3e7c4ee9c8bf

Contents?: true

Size: 659 Bytes

Versions: 1

Compression:

Stored size: 659 Bytes

Contents

<div class="<%= html_classes("relation", (class_name rescue nil)) %>">
  <%- 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

1 entries across 1 versions & 1 rubygems

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