{% extends 'base.html.j2' %}

{% block title %}
  Edit Play Key {{ key.key_string }}
{% endblock title %}

{% block content_before %}
  Edit Play Key {{ key.key_string }}
{% endblock content_before %}

{% block content %}
  <form method=post>
    {{ form.csrf_token }}
    <div class="card shadow-sm mx-auto pb-3 bg-dark border-primary" style="width: 20rem;">
      <div class="card-body">
        {{ helper.render_field(form.uses) }}
        {{ helper.render_checkbox_field(form.active) }}
        {{ helper.render_field(form.notes) }}
        {{ helper.render_submit_field(form.submit) }}
      </div>
    </div>
  </form>
{% endblock content %}
