Update _details.html.erb

This commit is contained in:
2016-05-11 07:30:37 -04:00
parent 4e61d363ee
commit 6305dc73ac

View File

@@ -2,38 +2,38 @@
<tbody> <tbody>
<tr> <tr>
<th>Customer</th> <th>Customer</th>
<td><%= @customer.name %></td> <td><%= customer.name %></td>
</tr> </tr>
<tr> <tr>
<th>Email</th> <th>Email</th>
<td><%= @customer.email %></td> <td><%= customer.email %></td>
</tr> </tr>
<tr> <tr>
<th>Primary Phone</th> <th>Primary Phone</th>
<td><%= @customer.primary_phone %></td> <td><%= customer.primary_phone %></td>
</tr> </tr>
<tr> <tr>
<th>Mobile Phone</th> <th>Mobile Phone</th>
<td><%= @customer.mobile_phone %></td> <td><%= customer.mobile_phone %></td>
</tr> </tr>
<tr> <tr>
<th>Notes</th> <th>Notes</th>
<td><%= @customer.notes %></td> <td><%= customer.notes %></td>
</tr> </tr>
<tr> <tr>
<th>Issues</th> <th>Issues</th>
<td><%= @issues.count %></td> <td><%= customer.issues.count %></td>
</tr> </tr>
<tr> <tr>
<td/> <td/>
<td> <td>
<%= button_to "Edit", edit_customer_path(@customer), method: :get%> <%= button_to "Edit", edit_customer_path(customer), method: :get%>
</td> </td>
</tr> </tr>
</tbody> </tbody>