Sha256: 7119a91295b8b497dd8e81d40c0a38f107d12745668c5fde05386d57289d4918
Contents?: true
Size: 1.46 KB
Versions: 12
Compression:
Stored size: 1.46 KB
Contents
.row .large-12.columns %h5 Features in <b>#{@resource.class.name}</b> #{@resource.name} %ul - @resource.features.each do |feature| %li.panel .panel-body = link_to '[~]', edit_city_feature_path( @resource, feature ) if 'City' == @resource.class.name = link_to '[~]', edit_tag_feature_path( @resource, feature ) if 'Tag' == @resource.class.name = link_to '[~]', edit_site_feature_path( @resource, feature ) if 'Site' == @resource.class.name = link_to '[~]', edit_venue_feature_path( @resource, feature ) if 'Venue' == @resource.class.name = link_to( '[x]', city_feature_path( @resource, feature ), :method => :delete, :data => { :confirm => :'Are you sure?' } ) if 'City' == @resource.class.name = link_to( '[x]', tag_feature_path( @resource, feature ), :method => :delete, :data => { :confirm => :'Are you sure?' } ) if 'Tag' == @resource.class.name = link_to( '[x]', site_feature_path( @resource, feature ), :method => :delete, :data => { :confirm => :'Are you sure?' } ) if 'Site' == @resource.class.name = link_to( '[x]', venue_feature_path( @resource, feature ), :method => :delete, :data => { :confirm => :'Are you sure?' } ) if 'Venue' == @resource.class.name %ul %li Name #{feature.name} %li Subhead: #{feature.subhead} %li Report: #{feature.report} %li Gallery: #{feature.gallery}
Version data entries
12 entries across 12 versions & 1 rubygems