ricarthlima/eo-project-es

View on GitHub
app/views/usuario_busca_componentes/index.html.erb

Summary

Maintainability
Test Coverage
<p id="notice"><%= notice %></p>

<h1>Usuario Busca Componentes</h1>

<table class = "table table-striped">
  <thead>
    <tr>
      <th>Usuario</th>
      <th>Componente</th>
      <th>Dt busca</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @usuario_busca_componentes.each do |usuario_busca_componente| %>
      <tr>
        <td><%= usuario_busca_componente.usuario %></td>
        <td><%= usuario_busca_componente.componente %></td>
        <td><%= usuario_busca_componente.dt_busca %></td>
        <td><%= link_to 'Show', usuario_busca_componente %></td>
        <td><%= link_to 'Edit', edit_usuario_busca_componente_path(usuario_busca_componente) %></td>
        <td><%= link_to 'Destroy', usuario_busca_componente, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Usuario Busca Componente', new_usuario_busca_componente_path %>