31 lines
790 B
Plaintext
Executable File
31 lines
790 B
Plaintext
Executable File
<script>
|
|
if(document.querySelectorAll("#orbit-bar").length==0) location.reload();
|
|
</script>
|
|
|
|
<table class="table main-list">
|
|
<thead>
|
|
<tr class="sort-header">
|
|
<% @table_fields.each do |f| %>
|
|
<%= thead(f) %>
|
|
<% end %>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @subscribers.each do |sub| %>
|
|
<tr>
|
|
<td>
|
|
<%= sub.email %>
|
|
</td>
|
|
<td>
|
|
<a data-method="delete" data-confirm="Are you sure?" href="<%= delete_subscriber_admin_e_paper_path(sub.id, :page => params[:page]) %>" class="btn btn-danger"><%= t(:delete_) %></a>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
|
|
<%=
|
|
content_tag :div, class: "bottomnav clearfix" do
|
|
content_tag :div, paginate(@subscribers), class: "pagination pagination-centered"
|
|
end
|
|
%> |