mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
add option to delete auction record
This commit is contained in:
parent
487cbb1774
commit
75df2212da
5 changed files with 30 additions and 3 deletions
|
@ -129,6 +129,7 @@
|
|||
<td style="width: 100px !important; word-break: break-all;"><%= auction.registration_code %></td>
|
||||
<td><%= auction.registration_deadline %></td>
|
||||
<td><%= auction.platform.nil? ? 'auto' : auction.platform %></td>
|
||||
<td><%= link_to(t(:delete), admin_auction_path(auction), method: :delete, data: { confirm: t(:are_you_sure_you_want_to_delete_auction) }, class: 'btn btn-danger') %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
@ -152,4 +153,4 @@
|
|||
$('#user-form-edit').on("show.bs.modal", function(e) {
|
||||
$(this).find('.modal-body').load(e.relatedTarget.dataset.url);
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue