<!-- <div class="card p-3 mb-4" style="background-color: var(--bs-tertiary-bg);"> -->
    <form>
    <div id="btb-post-update" class="d-flex mb-2">
    <?php
        if ( isset($user['client']) || !file_exists(PATH_ASSETS.'/images/avatar/'.$user['name'].'.jpg')) :
            $parts    = explode(' ', $user['name']);
            $initials = substr($parts[0], 0, 1) . substr(end($parts), 0, 1);
    ?>
            <div class="initial-avatar flex-shrink-0 me-2" alt="<?php echo $user['name']; ?>" title="<?php echo $user['name']; ?>"><?php echo $initials; ?></div>
    <?php
        else : 
    ?>
            <img src="<?php echo URL_ASSETS; ?>/images/avatar/<?php echo $user['name']; ?>.jpg" alt="<?php echo $user['name']; ?>" title="<?php echo $user['name']; ?>" class="avatar-small me-2">
    <?php
        endif; 
    ?>
        <div class="input-group">
            <textarea id="textarea-post-update" class="form-control border-end-0 p-2" placeholder="Post an update to <?php echo $userProject['title']; ?>" rows="1" style="resize:none;" required></textarea>
            <button style="" id="btb-post-update-btn" class="btn border border-start-0 btbPostUpdate btbAction" type="button">
                <i class="bi bi-send text-danger"></i>
            </button>
        </div>
    </div>
    <div id="updateDropzone" class="d-flex justify-content-center align-items-center rounded overflow-x-scroll" style="border:1px grey dashed;min-height:200px;cursor:pointer;">
        <div id="addImages" class="text-center">
            <div class="fw-bold">Add File(s)</div>
        </div>
    </div>
    <div class="small mt-1 ms-1">
        <span class="text-muted">Drag and drop or click inside the box to upload files</span>
        <br> 
        <span class="text-muted">Max number of files:</span> 12
        <br>
        <span class="text-muted">Max size per file:</span> 30MB
        <br>
        <span class="text-muted">Max total upload size:</span> 128MB 
        <br>
        <span class="text-muted">Accepted file types:</span> JPG/JPEG, PNG, PDF
    </div>
    </form>
<!-- </div> -->