Sha256: e32783bc33c07c6bc47f12fc493d0410e3e43f5c522bfa01898f353f82555cde

Contents?: true

Size: 799 Bytes

Versions: 1

Compression:

Stored size: 799 Bytes

Contents

.manager--leads-index
  %h5
    = link_to 'Leads', leads_path
    (#{@leads.count})
    = link_to raw("<i class='fa fa-plus-square'></i>"), new_lead_path
    = link_to '(done)', done_leads_path
    
  %table
    %tr
      %th &nbsp;
      %th Created At
      %th Company
      %th Email
      %th Job Url
      %th Description
      %th Done?
    - @leads.each do |lead|
      %tr
        %td= link_to raw('<i class="fa fa-play"></i>'), lead_path( lead )
        %td= pretty_date lead.created_at
        %td= lead.company
        %td= link_to raw('<i class="fa fa-envelope"></i>'), "mailto:#{lead.email}"
        %td= link_to raw('<i class="fa fa-user-md"></i>'), lead.job_url, :target => '_blank'
        %td= lead.description
        %td= lead.is_done ? raw('<i class="fa fa-check"></i>') : nil

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ish_manager-0.1.8.123 app/views/ish_manager/leads/index.haml