Add missing section markup
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Basti 2020-12-27 14:21:16 +01:00
parent 9372ea7343
commit 9ddd36c414
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

View File

@ -24,23 +24,25 @@
</section> </section>
<% if @invitations_used.any? %> <% if @invitations_used.any? %>
<h3>Accepted Invitations</h3> <section>
<table> <h3>Accepted Invitations</h3>
<thead> <table>
<tr> <thead>
<th>URL</th>
<th>Accepted</th>
<th>Invited user</th>
</tr>
</thead>
<tbody>
<% @invitations_used.each do |invitation| %>
<tr> <tr>
<td><%= invitation_url(invitation.token) %></td> <th>URL</th>
<td><%= invitation.used_at.strftime("%Y-%m-%d") %></td> <th>Accepted</th>
<td><%= User.find(invitation.invited_user_id).address %></td> <th>Invited user</th>
</tr> </tr>
<% end %> </thead>
</tbody> <tbody>
</table> <% @invitations_used.each do |invitation| %>
<tr>
<td class="overflow-ellipsis"><%= invitation_url(invitation.token) %></td>
<td><%= invitation.used_at.strftime("%Y-%m-%d") %></td>
<td><%= User.find(invitation.invited_user_id).address %></td>
</tr>
<% end %>
</tbody>
</table>
</section>
<% end %> <% end %>