Sha256: e8a8d45a7f448ea927b819e5c70ac14cd819a8d108e9a95e5e34ad9d88b45ff1

Contents?: true

Size: 949 Bytes

Versions: 1

Compression:

Stored size: 949 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_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

1 entries across 1 versions & 1 rubygems

Version Path
fcrepo_admin-0.4.0 app/views/fcrepo_admin/associations/_associations.html.erb