views/_attendance.returnsToWork.ejs
<nav class="breadcrumb is-hidden-mobile">
<ul>
<li class="is-active">
<a href="#" aria-current="page">
Employee Attendance
</a>
</li>
<li class="is-active">
<a href="#">
<span>Returns to Work</span>
</a>
</li>
</ul>
</nav>
<div class="columns is-vcentered">
<div class="column">
<h1 class="title is-1 is-size-3-mobile">Returns to Work</h1>
</div>
<div class="column is-narrow has-text-right">
<a class="button is-hidden-mobile" href="<%= urlPrefix %>/reports/returnToWorkRecords-recent" download>
<span class="icon"><i class="fas fa-file-csv" aria-hidden="true"></i></span>
<span>Export</span>
</a>
<% if (permissionFunctions.hasPermission(user, 'attendance.returnsToWork.canUpdate')) { %>
<button class="button is-success is-new-call-in-button" data-cy="add-call-in" data-call-in-type="returnToWork" type="button">
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
<span>New Call In</span>
</button>
<% } %>
</div>
</div>
<div id="container--returnsToWork"></div>