Sha256: 1885d60e0a4a21d74464be40325bed760fb719185b13e32edb7bc5c69ccc160e

Contents?: true

Size: 971 Bytes

Versions: 5

Compression:

Stored size: 971 Bytes

Contents

<%= error_messages_for @label %>

<h2><%= t("txt.views.labels.edit.header") %> <strong><%=h @label.value %></strong></h2>

<% if @association_objects_in_editing_mode.present? %>

  <% if @association_objects_in_editing_mode[:label_relations].present? %>
    <h4><%= t("txt.common.referenced_labels") %></h4>
    <%  @association_objects_in_editing_mode[:label_relations].each do |label_relation| %>
      <%= label_relation.type.demodulize + ': ' + link_to(label_relation.range.value, label_path(:published => 0, :id => label_relation.range)) + user_and_phone_number(t("txt.common.editor"), label_relation.range.locking_user.name, label_relation.range.locking_user.telephone_number) %><br />
    <% end %>
  <% end %>

<% end %>

<%= render :partial => "labels/base_data" %>

<%= content_for :sub_navigation do %>
  <ul>
    <li><%= link_to t('txt.views.navigation.back_to_preview'), label_path(:published => 0, :id => @label), :class => 'back' %></li>
  </ul>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
iqvoc_skosxl-1.2.3 app/views/labels/edit.html.erb
iqvoc_skosxl-1.2.2 app/views/labels/edit.html.erb
iqvoc_skosxl-1.2.1 app/views/labels/edit.html.erb
iqvoc_skosxl-1.2.0 app/views/labels/edit.html.erb
iqvoc_skosxl-1.1.4 app/views/labels/edit.html.erb