fixed implementation of UGC content uploader

This commit is contained in:
JakeBreath
2026-08-03 18:57:39 -05:00
parent 39e31d3980
commit 473b3c811b
40 changed files with 4137 additions and 87 deletions
@@ -0,0 +1,17 @@
{% extends 'base.html' %}
{% load static %}
{% block title %}New Version - {{ project.title }}{% endblock %}
{% block content %}
<h1><i class="fas fa-upload"></i> New version — {{ project.title }}</h1>
<p><a href="{% url 'library:project_detail' project.slug %}">&larr; Back to project</a></p>
<form method="post" enctype="multipart/form-data" class="card project-form">
{% csrf_token %}
{% include 'library/_version_form_fields.html' with form=version_form %}
<div class="form-actions">
<button type="submit" class="btn btn-primary"><i class="fas fa-upload"></i> Upload version</button>
</div>
</form>
{% endblock %}