<div class="modal fade" tabindex="-1" role="dialog">
  <form action="/vcard/delete/{{ uid }}" method="POST" class="form-signin">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">Deleting {{ form.attr_data.readable_name }}</h4>
      </div>
      <div class="modal-body">
          You are about to delete {{ form.attr_data }} from {{ form.attr_data.readable_name }}.
          {{ form.csrf_token }}
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary">Delete</button>
      </div>
    </div>
  </div>
  </form>
</div>
