Sha256: a700f817b876bab89c6ecfce1c09816af4b21ee33148598f36704d3e61e0f89f
Contents?: true
Size: 954 Bytes
Versions: 3
Compression:
Stored size: 954 Bytes
Contents
<h1>Listing contacts</h1> <table> <tr> <th>Title</th> <th>Summary</th> <th>Birthday</th> <th>URL</th> <th>Platform</th> <th>Editor</th> <th>Address</th> <th>Phone</th> <th>Private</th> <th>Happy</th> </tr> <% @contacts.each do |contact| %> <tr> <td><%=h contact.title %></td> <td><%=h contact.summary %></td> <td><%= date_format(contact.birthday) %></td> <td><%=h contact.url %></td> <td><%=h contact.platform %></td> <td><%=h contact.editor %></td> <td><%=h contact.address %></td> <td><%=h contact.phone %></td> <td><%= contact.private ? :true : :false %></td> <td><%= link_to 'Show', resource(contact) %></td> <td><%= link_to 'Edit', resource(contact, :edit) %></td> <td><%= link_to 'Destroy', resource(contact), confirm: 'Are you sure?', method: :delete %></td> </tr> <% end %> </table> <br /> <%= link_to 'New contact', resource(:contacts, :new) %>
Version data entries
3 entries across 3 versions & 1 rubygems