show.html.haml revision eeb6f931aa04060091972e9e7c163edc1d20b506
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes- @page_title = resource
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes%h2= link_to resource, [parent,resource], 'data-type' => resource_class
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes- if can? :update, resource.class
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes %li= link_to 'Edit mapping', "/#{parent.class.name.underscore}s/#{parent.id}/#{resource.class.name.underscore}s/#{resource.id}/edit"#[parent,:logic_mapping]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes - if can? :delete, resource.class
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes %li= link_to 'Delete mapping', [parent,resource.class], :confirm => 'Are you sure?', :method => :delete
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes standardization-status:
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes= if resource.has_attribute? :faithfulness
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes %h3 Faithfulness
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes= if resource.has_attribute? :theoroidalness
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes %h3 Theoroidalness