{% extends "minecraft_manager/dashboard.html" %}
{% load csrf_html %}
{% block title %}Application {{ application.username }}{% endblock %}
{% block section %}
<div id="content">
  <h2 class="sub-header">Viewing application for {{ application.username }}</h2>
  <div class="row">
      <div class="col-xs-6 col-md-4">
          <!-- <p>Username: {{ application.username }}</p> -->
          <p>Age: {{ application.age }}</p>
          <p>Application Date: {{ application.date }}</p>
          <p>Type Of Player:</p>
          <p class="well">{{ application.player_type }}</p>
          {% if application.accepted is not null %}
              <p>Status: {{ application.status }}</p>
          {% else %}
              <form action="" method="post">{% autoescape off %}{% get_csrf_html request %}{% endautoescape %}
                <button class="btn btn-primary" type="submit" name="accept" value="accept">Accept</button>
                <button class="btn btn-danger" type="submit" name="accept" value="deny">Deny</button>
              </form>
          {% endif %}
      </div>
      <div class="col-xs-12 col-md-8">
          <p>Ever Been Banned: {{ application.ever_banned }}</p>
          {% if application.ever_banned %}
              <p>Explanation: {{ application.ever_banned_explanation }}</p>
          {% endif %}
          {% if application.reference %}
              <p>Reference: {{ application.reference }}</p>
          {% endif %}
          <p>Read The Rules: {{ application.read_rules }}</p>
      </div>
  </div>
<div class="row">
    <div class="col-xs-6 col-md-4">
          
      </div>
      <div class="col-xs-12 col-md-8">

      </div>
</div>

</div>
{% endblock section %}
