Sha256: 25869b07758500d4fccb684daa51cd8f952a5efead050d056b04d63b115bf1ba

Contents?: true

Size: 954 Bytes

Versions: 21

Compression:

Stored size: 954 Bytes

Contents

<%= link_to 'New Lead', new_lead_path %>
<br>
<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', delete_lead_path(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>

Version data entries

21 entries across 9 versions & 1 rubygems

Version Path
leads_to_highrise-0.0.2 app/views/leads_to_highrise/leads/index.html.erb