]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/_blocks.html.erb
Adapt richtext javascript to Turbo
[rails.git] / app / views / user_blocks / _blocks.html.erb
index 8816acb1565a5dfb1a2c9dddb4abbc7f144715b7..de6feafa1e4d6ee695cedd90741ee9a34f67520a 100644 (file)
@@ -1,4 +1,4 @@
-<turbo-frame id="pagination" target="_top">
+<turbo-frame id="pagination" target="_top" data-turbo="false">
   <table id="block_list" class="table table-borderless table-striped table-sm">
     <thead>
       <tr>
@@ -13,9 +13,6 @@
         <th><%= t ".revoker_name" %></th>
         <th></th>
         <th></th>
-        <% if can?(:revoke, UserBlock) %>
-        <th></th>
-        <% end %>
       </tr>
     </thead>
     <%= render :partial => "block", :collection => @user_blocks %>