app/views/collections/_form.html.erb in iqvoc-4.1.3 vs app/views/collections/_form.html.erb in iqvoc-4.2.0
- old
+ new
@@ -16,11 +16,10 @@
:concept => @collection, :klass => labeling_class, :language => language %>
<%- end -%>
<%- end -%>
</fieldset>
-<%- # TODO: Add a Collection config for Note classes. %>
-<% [ Note::SKOS::Definition ].each do |klass| %>
+<% Iqvoc::Collection.note_classes.each do |klass| %>
<%= render klass.edit_partial_name(@collection), :owner_klass => @collection, :assoc_klass => klass, :f => f %>
<% end %>
<fieldset>
<legend><%= Iqvoc::Concept.base_class.model_name.human(:count => 2) %></legend>