show.html.haml revision 9207b76195d960634cc7bf91a1c9331632fedf29
- @page_title = resource
%h2= link_to resource, [parent,resource], 'data-type' => resource_class
- if can? :update, resource.class
%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
%h5 Defined by:
%h5 Standardization-status:
- if resource.has_attribute? :faithfulness
%h5 Faithfulness
- if resource.has_attribute? :theoroidalness
%h5 Theoroidalness