33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
<div class="d-flex flex-row justify-content-between align-items-center mb-3">
|
|
<% if policy(CastingCall).new? %>
|
|
<%= link_to fa_icon("plus", text: t(".actions.new")), [:new, :admin, :casting_call_interview], class: "btn btn-primary mb-3" %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<div class="border bg-white rounded shadow-sm pb-3 table-responsive">
|
|
<table class="table table-striped tr-px-4 align-all-middle">
|
|
<thead class="thead-light">
|
|
<tr>
|
|
<th>Account Name</th>
|
|
<th>Casting Call Request</th>
|
|
<th>Perfomer's Name</th>
|
|
<th>Interview Date</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="users">
|
|
<% if @casting_call_interviews.any? %>
|
|
<%= render @casting_call_interviews %>
|
|
<% else %>
|
|
<tr>
|
|
<td colspan="20" class="py-4 text-center text-muted"><%= t(".empty") %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="casting_call_interviews_pagination" class="mt-3">
|
|
<%= will_paginate @casting_call_interviews %>
|
|
</div>
|