scinote-web/app/views/users/registrations/_device_revocation_modal.html.erb

20 lines
1 KiB
Text
Raw Normal View History

<div class="modal device-revocation-modal" id="deviceRevocationModal" tabindex="-1" role="dialog" data-backdrop="static">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
2023-08-17 19:55:17 +08:00
<button type="button" class="close" data-dismiss="modal"><i class="sn-icon sn-icon-close"></i></button>
<h2 class="modal-title"><%= t("users.registrations.edit.device_revocation_modal.title") %></h2>
</div>
<div class="modal-body">
<p><%= t("users.registrations.edit.device_revocation_modal.description") %></p>
<h3><%= t("users.registrations.edit.device_revocation_modal.validation") %></h3>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal"><%= t('general.cancel') %></button>
<%= link_to t("users.registrations.edit.device_revocation_modal.remove"), '#', id: "confirm-device-remove", remote:true ,method: :delete, type: 'button', class: 'btn btn-primary' %>
</div>
</div>
</div>
</div>