show.html.haml revision 9207b76195d960634cc7bf91a1c9331632fedf29
- @page_title = resource
%h2= link_to resource, [parent,resource], 'data-type' => resource_class
- if can? :update, resource.class
%ul.actions.pull-right
%li= link_to 'Edit mapping', "/#{parent.class.name.underscore}s/#{parent.id}/#{resource.class.name.underscore}s/#{resource.id}/edit"#[parent,:logic_mapping]
- if can? :delete, resource.class
%li= link_to 'Delete mapping', [parent,resource.class], :confirm => 'Are you sure?', :method => :delete
%h5 Maps
= fancy_link resource.source
to
= fancy_link resource.target
%p.definedBy
%h5 Defined by:
= resource.defined_by
%p.standardStatus
%h5 Standardization-status:
= resource.standardization_status
- if resource.has_attribute? :faithfulness
%p.faithfulness
%h5 Faithfulness
= resource.faithfulness
- if resource.has_attribute? :theoroidalness
%p.theoroidalness
%h5 Theoroidalness
= resource.theoroidalness