Sha256: 2682232dd92b6f8de9d77dbf94100b72be222cf5759cde417df25063d5f04fcd

Contents?: true

Size: 647 Bytes

Versions: 6

Compression:

Stored size: 647 Bytes

Contents

.page-header
  %h1
    List
    %small Contacts

%table.table.table-striped.table-bordered
  %colgroup{ :width => '25%' }
  %colgroup{ :width => '25%' }
  %colgroup{ :width => '25%' }
  %colgroup{ :width => '25%' }
  - @contacts.each do |contact|
    %tr
      %td= contact.name
      %td= contact.phone
      %td= mail_to contact.email
      %td= link_to contact.url
      %td= link_to 'Edit', edit_contact_path(contact), :class => 'btn btn-warning'
      %td= link_to 'Destroy', contact, :data => { :confirm => 'Are you sure?' }, :method => :delete, :class => 'btn btn-danger'

%p
  = link_to 'New', new_contact_path, :class => 'btn btn-primary'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
formula-1.0.1 test/dummy/app/views/contacts/index.html.haml
formula-1.0.0 test/dummy/app/views/contacts/index.html.haml
formula-0.3.9 test/dummy/app/views/contacts/index.html.haml
formula-0.3.8 test/dummy/app/views/contacts/index.html.haml
formula-0.3.7 test/dummy/app/views/contacts/index.html.haml
formula-0.3.6 test/dummy/app/views/contacts/index.html.haml