{% load rest_framework %}

<!-- Modal -->
<div class="modal fade auth-modal auth-token" id="auth_token_modal" tabindex="-1" role="dialog" aria-labelledby="token authentication modal">
<div class="modal-dialog modal-md" role="document">
  <div class="modal-content">
    <div class="modal-header">
      <h3 class="modal-title"><i class="fa fa-key"></i> Authentication Header</h3>
    </div>

    <form class="form-horizontal authentication-token-form">
    <div class="modal-body">
      <div class="form-group">
        <label for="authorization" class="col-sm-2 control-label">Authorization:</label>

        <div class="col-sm-10">
          <input type="text" class="form-control" id="authorization" placeholder="Bearer XXXX-XXXX-XXXX-XXXX" aria-describedby="helpBlock" required>
          <span id="helpBlock" class="help-block">The value to include for the <code>Authorization</code> header in outgoing HTTP requests.</span>
        </div>
      </div>
    </div>

    <div class="modal-footer">
      <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      <button type="submit" class="btn btn-primary">Use Authentication Header</button>
    </div>
    </form>

  </div>
</div>
</div>
