Sha256: 796bbc566cfa5879d80b6dbb10685b321ccb551d0333e205dcab4e5fe0421809

Contents?: true

Size: 679 Bytes

Versions: 13

Compression:

Stored size: 679 Bytes

Contents

.page-header
  %h1 
    List
    %small Images
%table.table.table-striped.table-bordered
  %colgroup{ :width => '60%' }
  %colgroup{ :width => '20%' }
  %colgroup{ :width => '20%' }
  - @images.each do |image|
    %tr
      %th= image.name
      %td= image.file_extension
      %td= number_to_human_size image.file_size
      %td= link_to 'Show', image_path(image), :class => 'btn btn-info'
      %td= link_to 'Edit', edit_image_path(image), :class => 'btn btn-warning'
      %td= link_to 'Destroy', image_path(image), :method => :delete, :class => 'btn btn-danger'

%p
  = link_to 'New', new_image_path, :class => 'btn btn-primary'
  = link_to 'Back', root_path, :class => 'btn'

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
attached-1.0.4 test/dummy/app/views/images/index.html.haml
attached-1.0.3 test/dummy/app/views/images/index.html.haml
attached-1.0.2 test/dummy/app/views/images/index.html.haml
attached-1.0.1 test/dummy/app/views/images/index.html.haml
attached-1.0.0 test/dummy/app/views/images/index.html.haml
attached-0.6.0 test/dummy/app/views/images/index.html.haml
attached-0.5.9 test/dummy/app/views/images/index.html.haml
attached-0.5.8 test/dummy/app/views/images/index.html.haml
attached-0.5.7 test/dummy/app/views/images/index.html.haml
attached-0.5.6 test/dummy/app/views/images/index.html.haml
attached-0.5.5 test/dummy/app/views/images/index.html.haml
attached-0.5.4 test/dummy/app/views/images/index.html.haml
attached-0.5.3 test/dummy/app/views/images/index.html.haml