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

Version Path
ish_manager-0.1.8.123 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.122 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.121 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.120 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.119 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.118 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.117 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.116 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.115 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.114 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.113 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.112 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.111 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.110 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.109 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.108 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.107 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.106 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.105 app/views/ish_manager/features/index.haml
ish_manager-0.1.8.104 app/views/ish_manager/features/index.haml