add fileupload, create views, detail view of task
This commit is contained in:
22
fet2020/templates/intern/file_create.html
Normal file
22
fet2020/templates/intern/file_create.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends "layout.html" %}
|
||||
{% block content %}
|
||||
|
||||
<div class="grid-container">
|
||||
<div class="grid-x padding-top-1 padding-left-1 padding-right-1">
|
||||
<a class="button" href="{% url 'docu' topic_slug slug %}">Zurück</a>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
<h2>Neue Datei hochladen</h2>
|
||||
<div class="grid-x">
|
||||
<div class="cell">
|
||||
<form action="" method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{{ form }}
|
||||
<input type="submit" class="button" name="btn_input" value="Hinzufügen">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user