Sha256: 8842ab967ea80d4779e9a8d34f65e1114abc0c86bce33d0ea3cd10e2a875ef66

Contents?: true

Size: 979 Bytes

Versions: 10

Compression:

Stored size: 979 Bytes

Contents

<h3><%= t("fcrepo_admin.object.associations.title") %></h3>
<table class="table table-bordered table-condensed">
  <thead>
	<tr>
	  <th scope="col"><%= t("fcrepo_admin.object.associations.header.macro") %></th>
	  <th scope="col"><%= t("fcrepo_admin.object.associations.header.name") %></th>
	  <th scope="col"><%= t("fcrepo_admin.object.associations.header.target") %></th>
	  <!-- <th scope="col"><%= t("fcrepo_admin.object.associations.header.class_name") %></th> -->
	  <th scope="col"><%= t("fcrepo_admin.object.associations.header.property") %></th>
	</tr>
  </thead>
  <tbody>
	<% object.reflections.each_value do |association| %>
	<tr>
	  <td><%= association.macro %></td>
	  <td><%= association.name %></td>
	  <td><%= link_to_association_target association %></td>
	  <!-- <td><%= association.class_name %></td> -->
	  <td>
		<%= association.options[:property] %><% if association.options[:inbound] %> (inbound)<% end %>
	  </td>
	</tr>
	<% end %>
  </tbody>
</table>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fcrepo_admin-0.6.1 app/views/fcrepo_admin/associations/_associations.html.erb
fcrepo_admin-0.6.0 app/views/fcrepo_admin/associations/_associations.html.erb
fcrepo_admin-0.5.5 app/views/fcrepo_admin/associations/_associations.html.erb
fcrepo_admin-0.5.5.pre app/views/fcrepo_admin/associations/_associations.html.erb
fcrepo_admin-0.5.4 app/views/fcrepo_admin/associations/_associations.html.erb
fcrepo_admin-0.5.3 app/views/fcrepo_admin/associations/_associations.html.erb
fcrepo_admin-0.5.2 app/views/fcrepo_admin/associations/_associations.html.erb
fcrepo_admin-0.5.1 app/views/fcrepo_admin/associations/_associations.html.erb
fcrepo_admin-0.5.0 app/views/fcrepo_admin/associations/_associations.html.erb
fcrepo_admin-0.4.1 app/views/fcrepo_admin/associations/_associations.html.erb