Sha256: f9b7ff13dfe7f4711279b3cf714ab6cabc867d0897fc957338e48ebd15799865

Contents?: true

Size: 752 Bytes

Versions: 12

Compression:

Stored size: 752 Bytes

Contents

<% title "Contacts" %>

<table>
  <tr>
    <th>Name</th>
    <th>From</th>
    <th>Arrival Date</th>
    <th>Departure Date</th>
    <th>Email</th>
    <th>Message</th>
  </tr>
  <% for contact in @contacts %>
    <tr>
      <td><%=h contact.name %></td>
      <td><%=h contact.from %></td>
      <td><%=h contact.arrival_date %></td>
      <td><%=h contact.departure_date %></td>
      <td><%=h contact.email %></td>
      <td><%=h contact.message %></td>
      <td><%= link_to "Show", contact %></td>
      <td><%= link_to "Edit", edit_contact_path(contact) %></td>
      <td><%= link_to "Destroy", contact, :confirm => 'Are you sure?', :method => :delete %></td>
    </tr>
  <% end %>
</table>

<p><%= link_to "New Contact", new_contact_path %></p>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
sbdevcore-0.1.2 app/views/contacts/index.html.erb
sbdevcore-0.1.1 app/views/contacts/index.html.erb
sbdevcore-0.1.0 app/views/contacts/index.html.erb
sbdevcore-0.0.9 app/views/contacts/index.html.erb
sbdevcore-0.0.8 app/views/contacts/index.html.erb
sbdevcore-0.0.7 app/views/contacts/index.html.erb
sbdevcore-0.0.6 app/views/contacts/index.html.erb
sbdevcore-0.0.5 app/views/contacts/index.html.erb
sbdevcore-0.0.4 app/views/contacts/index.html.erb
sbdevcore-0.0.3 app/views/contacts/index.html.erb
sbdevcore-0.0.1 app/views/contacts/index.html.erb
sbdev-core-0.0.1 app/views/contacts/index.html.erb