app/views/collections/_form.html.erb in iqvoc-4.0.1 vs app/views/collections/_form.html.erb in iqvoc-4.0.2
- old
+ new
@@ -5,10 +5,12 @@
-%>
<%= simple_form_for collection, :as => :concept, :url => collection.new_record? ? collections_path : collection_path(collection), :html => { :class => 'form-horizontal' } do |f| %>
<fieldset>
<legend><%= t 'txt.views.layouts.sections.labels' %></legend>
- <p><%= t 'txt.common.hint_csv_input' %></p>
+ <% if not Iqvoc.const_defined?(:SKOSXL) %>
+ <p><%= t 'txt.common.hint_csv_input' %></p>
+ <% end %>
<%- Iqvoc::Concept.labeling_classes.each do |labeling_class, languages| -%>
<%- languages.each do |language| -%>
<%= render labeling_class.edit_partial_name(@collection), :f => f,
:concept => @collection, :klass => labeling_class, :language => language %>
<%- end -%>