1
0
Fork 0
This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/views/staffs/x509_certificates/index.html.erb

24 lines
693 B
Plaintext

<div class="container">
<%= nav_breadcrumb(
[translate(:staff_services), staff_root_path],
X509Certificate.model_name.human(count: 0),
) %>
<% if policy([:staff, X509Certificate]).new? %>
<div class="btn-group" role="group">
<% if policy([:staff, X509Certificate]).new? %>
<%= link_to translate(:create),
new_staff_x509_certificate_path,
class: 'btn btn-primary',
role: :button %>
<% end %>
</div>
<% end %>
<div class="mt-3">
<%= render partial: 'table',
locals: { x509_certificates: @x509_certificates } %>
<%= pagination @x509_certificates %>
</div>
</div>