app/views/concepts/edit.html.erb in iqvoc-3.5.7 vs app/views/concepts/edit.html.erb in iqvoc-4.0.0

- old
+ new

@@ -1,32 +1,9 @@ +<%= render 'header', :concept => @concept %> +<%= render 'concepts/sidebars/singular', :concept => @concept %> + <%= error_messages_for @concept %> -<h2> - <%= Iqvoc::Concept.base_class.model_name.human %>: - <%= link_to(@concept.origin, concept_path(:id => @concept.origin)) %> -</h2> +<%= render 'concepts/notifications/referenced_concepts', + :association_objects_in_editing_mode => @association_objects_in_editing_mode %> -<% if @association_objects_in_editing_mode.present? %> - <% if @association_objects_in_editing_mode[:concept_relations].present? %> - <h4><%= t("txt.common.referenced_concepts") %></h4> - <ul> - <% @association_objects_in_editing_mode[:concept_relations].each do |concept_relation| %> - <li> - <%= concept_relation.class.model_name.human %>: - <%= link_to(concept_relation.target.pref_label.to_s, - concept_path(:published => 0, :id => concept_relation.target)) %> - [<%= t("txt.common.editor") %>: <%= user_details(concept_relation.target.locking_user) %>] - </li> - <% end %> - </ul> - <% end %> -<% end %> - -<%= render :partial => "concepts/base_data" %> - -<%= content_for :sub_navigation do %> - <ul> - <li> - <%= link_to t('txt.views.navigation.back_to_preview'), concept_path(:published => 0, :id => @concept), :class => 'back' %> - </li> - </ul> -<% end %> +<%= render 'form', :concept => @concept %>