Sha256: bd3243934649b82a2a0f0fcaf2ed76497eb333db3e242ef1e0b168bc425b4d99
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
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
3 entries across 3 versions & 1 rubygems