Sha256: d6faf196035688561e1135bd8a251a52dc10fd461113820d157c086f4e4906ec
Contents?: true
Size: 870 Bytes
Versions: 6
Compression:
Stored size: 870 Bytes
Contents
!!! 5 - nav = render_haml('_nav.haml', self) - head = render_haml('_head.haml', self) - foot = render_haml('_foot.haml', self) %html %head %title Flapjack - Contacts = head %body %div#wrap %div{:class => "container"} %div{:class => "page-header"} = nav %h2 Contacts - if @contacts && !@contacts.empty? %table{:class => "table table-bordered table-hover table-condensed"} %tr %th Name %th Email - @contacts.sort_by {|c| [c.last_name, c.first_name] }.each do |contact| %tr %td - link = "/contacts/#{contact.id}" %a(title='contact details' href=link) #{contact.name} %td= contact.email - else %p No contacts %div#push %div#footer = foot
Version data entries
6 entries across 6 versions & 1 rubygems