%= bootstrap_form_for concept,
:as => :concept,
:url => concept.new_record? ? concepts_path : concept_path(:published => 0, :id => concept),
:layout => :horizontal do |f| %>
<% Iqvoc::Concept.note_classes.each do |note_class| %>
<% unless note_class.edit_partial_name(concept).nil? %>
<%= render note_class.edit_partial_name(concept), :owner_klass => concept, :assoc_klass => note_class, :f => f %>
<% end %>
<% end %>
<% Iqvoc::Concept.notation_classes.each do |notation_class| %>
<%= render notation_class.edit_partial_name(concept), :owner_klass => concept, :assoc_klass => notation_class, :f => f %>
<% end %>
<%= f.submit t("txt.common.save"), :class => "btn btn-primary" %>
<%= link_to t("txt.common.cancel"), concept_path(:published => 0, :id => concept), :class => "btn btn-default" %>
<% end %>