Sha256: 2cd4181bdd10116a510725ce1520f7ef955620e94210da2eb7f3a8d3e7f8c1f6

Contents?: true

Size: 1.08 KB

Versions: 23

Compression:

Stored size: 1.08 KB

Contents

<%= error_messages_for @concept %>

<h2>
  <%= Iqvoc::Concept.base_class.model_name.human %>:
  <%= link_to(@concept.origin, concept_path(:id => @concept.origin)) %>
</h2>

<% 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 %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
iqvoc-3.2.5 app/views/concepts/edit.html.erb
iqvoc-3.2.4 app/views/concepts/edit.html.erb
iqvoc-3.2.3 app/views/concepts/edit.html.erb