Sha256: 90347ec9823fd4fd37369d032ee19618e65e9591d54668659b006a04c3ae9394
Contents?: true
Size: 870 Bytes
Versions: 11
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.first_name, c.last_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
11 entries across 11 versions & 1 rubygems