fixed implementation of UGC content uploader
This commit is contained in:
@@ -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 %}">← 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 %}
|
||||
Reference in New Issue
Block a user