You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/tem_tests/index.html.erb

30 lines
664 B

6 years ago
<p id="notice"><%= notice %></p>
<h1>Tem Tests</h1>
<table>
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @tem_tests.each do |tem_test| %>
<tr>
<td><%= tem_test.name %></td>
<td><%= tem_test.email %></td>
<td><%= link_to 'Show', tem_test %></td>
<td><%= link_to 'Edit', edit_tem_test_path(tem_test) %></td>
<td><%= link_to 'Destroy', tem_test, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
</table>
<br>
<%= link_to 'New Tem Test', new_tem_test_path %>