33 lines
1006 B
Plaintext
33 lines
1006 B
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_submission], 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_submissions.any? %>
|
|
<%= render @casting_submissions %>
|
|
<% else %>
|
|
<tr>
|
|
<td colspan="20" class="py-4 text-center text-muted"><%= t(".empty") %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="casting_submissions_pagination" class="mt-3">
|
|
<%= will_paginate @casting_submissions %>
|
|
</div>
|