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.
31 lines
737 B
31 lines
737 B
<p id="notice"><%= notice %></p>
|
|
|
|
<h1>Listing Certificates</h1>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Key</th>
|
|
<th>Cert</th>
|
|
<th>Active</th>
|
|
<th colspan="3"></th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<% @certificates.each do |certificate| %>
|
|
<tr>
|
|
<td><%= certificate.key %></td>
|
|
<td><%= certificate.cert %></td>
|
|
<td><%= certificate.active %></td>
|
|
<td><%= link_to 'Show', certificate %></td>
|
|
<td><%= link_to 'Edit', edit_certificate_path(certificate) %></td>
|
|
<td><%= link_to 'Destroy', certificate, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
|
|
<br>
|
|
|
|
<%= link_to 'New Certificate', new_certificate_path %>
|