show.html.haml revision 21906b8ad15d580e07b5e76ca7c159320240e609
- @page_title = resource.iri
%h2= link_to resource, resource, 'data-type' => resource_class
%p= fancy_tag(resource, [:theorem, :local, :proven, :inclusion]) { |a| ' | ' + a}
- if can? :update, Link
%li= link_to 'Edit Metadata', :edit_link
%li= link_to 'Update Link', :update_version_link
- if can? :delete, Link
%li= link_to 'Delete Link', :link, :confirm => 'Are you sure?', :method => :delete
%h5 Links
= fancy_link resource.source
to
= fancy_link resource.target
%h5 Entities
%table
%thead
%tr
%th Source
%th Target
%tbody
- resource.entity_mappings.each do |mapping|
%tr
%td= mapping.source
%td= mapping.target
%h5 Status
%p
Proven:
%p
Required Consstatus:
%p
Prooven Consstatus: