_mappings.html.haml revision 9207b76195d960634cc7bf91a1c9331632fedf29
%h4 Mappings
- @mappings_from.each do |mapping|
%li= fancy_link [resource,mapping] {|e| e.to_s}
- @mappings_to.each do |mapping|
%li= fancy_link [mapping.source,mapping] {|e| e.to_s}
- if can? :update, Logic
%li= link_to 'Add Mapping', new_logic_logic_mapping_path(resource)