Sha256: ea59d0a1d52ab7213c094ca4c2940adffc51c439209eb5c758d0666c29f41f78
Contents?: true
Size: 991 Bytes
Versions: 5
Compression:
Stored size: 991 Bytes
Contents
<h1>Listing leads</h1> <table> <thead> <tr> <th>Name</th> <th>Last name</th> <th>Email</th> <th>Company</th> <th>Job title</th> <th>Phone</th> <th>Website</th> <th colspan="4"></th> </tr> </thead> <tbody> <% @leads.each do |lead| %> <tr> <td><%= lead.name %></td> <td><%= lead.last_name %></td> <td><%= lead.email %></td> <td><%= lead.company %></td> <td><%= lead.job_title %></td> <td><%= lead.phone %></td> <td><%= lead.website %></td> <td><%= link_to 'Show', lead %></td> <td><%= link_to 'Edit', edit_lead_path(lead) %></td> <td><%= link_to 'Destroy', lead, method: :delete, data: { confirm: 'Are you sure?' } %></td> <td><%= link_to 'Send to Highrise', to_highrise_path(lead) if user_signed_in? %></td> </tr> <% end %> </tbody> </table> <br> <%= link_to 'New Lead', new_lead_path %> <%= will_paginate @leads %>
Version data entries
5 entries across 3 versions & 1 rubygems