{% load crispy_forms_tags %}
<div class="modal fade mt-4" id="linkedinData" tabindex="-1" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-xl" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="myModalLabel">Edit linkedin Post content</h5>
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">
        <form method="post" action="{% url 'edit_linkedin_post_content' job.slug %}" enctype="multipart/form-data" >
          {% csrf_token %}
            {{ linkedin_content_form|crispy }}
         <div class="modal-footer mt-2">
            <button type="button" class="btn  btn-lg btn-secondary" data-bs-dismiss="modal">Close</button>
            <button type="submit" class="btn btn-main-action ">Save changes</button>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>

