Sha256: 7ed46a77145e7b48bf56dbf9ddb0411744cfc603eb3441fa792068624621aa3e
Contents?: true
Size: 1.52 KB
Versions: 126
Compression:
Stored size: 1.52 KB
Contents
.row .large-12.columns %h5 Features in <b>#{@resource.class.name}</b> #{@resource.name}/ %ul - @resource.features.each do |feature| %li .gray= feature.id = link_to '[~]', edit_manager_city_feature_path( @resource, feature ) if 'City' == @resource.class.name = link_to '[~]', edit_manager_tag_feature_path( @resource, feature ) if 'Tag' == @resource.class.name = link_to '[~]', edit_manager_site_feature_path( @resource, feature ) if 'Site' == @resource.class.name = link_to '[~]', edit_manager_venue_feature_path( @resource, feature ) if 'Venue' == @resource.class.name = link_to( '[x]', manager_city_feature_path( @resource, feature ), :method => :delete, :data => { :confirm => :'Are you sure?' } ) if 'City' == @resource.class.name = link_to( '[x]', manager_tag_feature_path( @resource, feature ), :method => :delete, :data => { :confirm => :'Are you sure?' } ) if 'Tag' == @resource.class.name = link_to( '[x]', manager_site_feature_path( @resource, feature ), :method => :delete, :data => { :confirm => :'Are you sure?' } ) if 'Site' == @resource.class.name = link_to( '[x]', manager_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
126 entries across 126 versions & 2 rubygems