32 lines
875 B
Plaintext
32 lines
875 B
Plaintext
<table class="table main-list">
|
|
<thead>
|
|
<tr class="sort-header">
|
|
<% @table_fields.each do |f| %>
|
|
<%= thead(f) %>
|
|
<% end %>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @subscribers.each do |subscriber| %>
|
|
<tr>
|
|
<td>
|
|
<%= subscriber.email rescue "" %>
|
|
<div class="quick-edit">
|
|
<ul class="nav nav-pills">
|
|
<li><a class="delete text-error" href="<%= admin_e_paper_subscriber_path(subscriber.id) %>" data-method="delete" data-confirm="Are you sure?"><%= t(:delete_) %></a></li>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<%= subscriber.subscribed ? "Subscribed" : "Unsubscribed" %>
|
|
</td>
|
|
<td>
|
|
<%= t(subscriber.language) %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<div class="bottomnav clearfix" style="left: 81px;">
|
|
<%= content_tag :div, paginate(@subscribers), class: "pagination pagination-centered" %>
|
|
</div> |