moves table ids to fixes specs

This commit is contained in:
decabeza
2017-10-20 13:59:58 +02:00
parent ef91fc7941
commit 90067814e4
3 changed files with 139 additions and 133 deletions

View File

@@ -13,10 +13,11 @@
<div id="search-result"></div> <div id="search-result"></div>
<div id="managers">
<% if @managers.any? %> <% if @managers.any? %>
<h3 class="margin"><%= page_entries_info @managers %></h3> <h3 class="margin"><%= page_entries_info @managers %></h3>
<table id="managers"> <table>
<thead> <thead>
<th scope="col"><%= t("admin.managers.index.name") %></th> <th scope="col"><%= t("admin.managers.index.name") %></th>
<th scope="col"><%= t("admin.managers.index.email") %></th> <th scope="col"><%= t("admin.managers.index.email") %></th>
@@ -54,3 +55,4 @@
<%= t("admin.managers.index.no_managers") %> <%= t("admin.managers.index.no_managers") %>
</div> </div>
<% end %> <% end %>
</div>

View File

@@ -15,11 +15,12 @@
<div id="search-result"></div> <div id="search-result"></div>
<div id="moderators">
<% if @moderators.any? %> <% if @moderators.any? %>
<h3><%= page_entries_info @moderators %></h3> <h3><%= page_entries_info @moderators %></h3>
<table id="moderators"> <table>
<thead> <thead>
<th scope="col"><%= t("admin.moderators.index.name") %></th> <th scope="col"><%= t("admin.moderators.index.name") %></th>
<th scope="col" class="small-6"><%= t("admin.moderators.index.email") %></th> <th scope="col" class="small-6"><%= t("admin.moderators.index.email") %></th>
@@ -60,3 +61,4 @@
<%= t("admin.moderators.index.no_moderators") %> <%= t("admin.moderators.index.no_moderators") %>
</div> </div>
<% end %> <% end %>
</div>

View File

@@ -11,10 +11,11 @@
<% end %> <% end %>
</div> </div>
<div id="search-results">
<% if @organizations.any? %> <% if @organizations.any? %>
<h3 class="margin"><%= page_entries_info @organizations %></h3> <h3 class="margin"><%= page_entries_info @organizations %></h3>
<table id="search-results"> <table>
<thead> <thead>
<th scpope="col"><%= t("admin.organizations.index.name") %></th> <th scpope="col"><%= t("admin.organizations.index.name") %></th>
<th scpope="col"><%= t("admin.organizations.index.email") %></th> <th scpope="col"><%= t("admin.organizations.index.email") %></th>
@@ -66,3 +67,4 @@
<%= t("admin.organizations.search.no_results") %> <%= t("admin.organizations.search.no_results") %>
</div> </div>
<% end %> <% end %>
</div>