add opponent views and forms

This commit is contained in:
2022-06-14 19:33:19 -05:00
parent 2129cfe3a1
commit 1f98127778
7 changed files with 173 additions and 246 deletions

View File

@@ -0,0 +1,9 @@
{% extends "base.html" %}
{% block title %}{{ opponent.data.name }}{% endblock %}
{% block content %}
<h4>{{ opponent.data.name }}</h4>
<form method="post" enctype="multipart/form-data">{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Save">
</form>
{% endblock content %}