Sha256: 554e3e6dacdcf17eddede75346636d54a8b0cfe829883cdae38c0bb1eba95bff

Contents?: true

Size: 683 Bytes

Versions: 4

Compression:

Stored size: 683 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Contacts</h1>

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Phone</th>
      <th>Email</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @contacts.each do |contact| %>
      <tr>
        <td><%= contact.name %></td>
        <td><%= contact.phone %></td>
        <td><%= contact.email %></td>
        <td><%= link_to 'Show', contact %></td>
        <td><%= link_to 'Edit', edit_contact_path(contact) %></td>
        <td><%= link_to 'Destroy', contact, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Contact', new_contact_path %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple_form_custom_inputs-0.1.0 example/app/views/contacts/index.html.erb
simple_form_custom_inputs-0.0.4 example/app/views/contacts/index.html.erb
simple_form_custom_inputs-0.0.3 example/app/views/contacts/index.html.erb
simple_form_custom_inputs-0.0.2 example/app/views/contacts/index.html.erb