hides table if there are no officers
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<%= page_entries_info @officers, entry_name: t('admin.poll_officers.officer.entry_name') %>
|
||||
</h3>
|
||||
|
||||
<% if @officers.any? %>
|
||||
<table id="officers">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -49,3 +50,4 @@
|
||||
</table>
|
||||
|
||||
<%= paginate @officers %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user