Websites/app/views/yiff_rest/apikeys/_view_modal.html.erb

17 lines
712 B
Plaintext
Raw Normal View History

2024-05-03 03:04:43 +00:00
<div class="modal fade" id="apikeyViewModal<%= key.id %>" tabindex="-1" aria-labelledby="apikeyViewModalLabel<%= key.id %>" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content bg-dark">
<div class="modal-header">
<h1 class="modal-title fs-5" id="apikeyViewModalLabel<%= key.id %>">API Key #<%= key.id %></h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<code><%= key.key %></code>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>