Sha256: 6b06111a56713bdeb43c937d6568493528dff0913618821944b745103124c86e

Contents?: true

Size: 969 Bytes

Versions: 17

Compression:

Stored size: 969 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', 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

17 entries across 9 versions & 1 rubygems

Version Path
leads_to_highrise-0.1.9 test/dummy/app/views/leads_to_highrise/lead/_lead.html.erb
leads_to_highrise-0.1.9 lib/generators/leads_to_highrise/templates/_lead.html.erb
leads_to_highrise-0.1.8 lib/generators/leads_to_highrise/templates/_lead.html.erb
leads_to_highrise-0.1.8 test/dummy/app/views/leads_to_highrise/lead/_lead.html.erb
leads_to_highrise-0.1.7 lib/generators/leads_to_highrise/templates/_lead.html.erb
leads_to_highrise-0.1.7 test/dummy/app/views/leads_to_highrise/lead/_lead.html.erb
leads_to_highrise-0.1.6 test/dummy/app/views/leads_to_highrise/lead/_lead.html.erb
leads_to_highrise-0.1.6 lib/generators/leads_to_highrise/templates/_lead.html.erb
leads_to_highrise-0.1.5 test/dummy/app/views/leads_to_highrise/lead/_lead.html.erb
leads_to_highrise-0.1.5 app/views/leads_to_highrise/leads/_lead.html.erb
leads_to_highrise-0.1.5 lib/generators/leads_to_highrise/templates/_lead.html.erb
leads_to_highrise-0.1.4 test/dummy/app/views/leads_to_highrise/lead/_lead.html.erb
leads_to_highrise-0.1.4 lib/generators/leads_to_highrise/install/templates/_lead.html.erb
leads_to_highrise-0.1.4 app/views/leads_to_highrise/leads/_lead.html.erb
leads_to_highrise-0.0.4 app/views/leads_to_highrise/leads/_lead.html.erb
leads_to_highrise-0.0.3 app/views/leads_to_highrise/leads/_lead.html.erb
leads_to_highrise-0.0.2 app/views/leads_to_highrise/leads/_lead.html.erb