File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {% extends "base.html" %}
2+
3+ {% block title %}Upload Material for Group {{ group.acronym }}{% endblock %}
4+
5+ {% block morecss %}
6+ {{ block.super }}
7+ form.upload-material td { padding-bottom: 0.6em; }
8+ form.upload-material #id_title { width: 30em; }
9+ form.upload-material .submit-row td { padding-top: 1em; text-align: right; }
10+ {% endblock %}
11+
12+ {% block content %}
13+ {% load ietf_filters %}
14+
15+ < div class ="group-customize-workflow ">
16+
17+ < h1 > Upload Material for Group {{ group.acronym }}</ h1 >
18+
19+ {% if action == "new" %}
20+ < p >
21+ Below you can upload a file for the group
22+ < a href ="{% url "group_materials " acronym=group.acronym %} "> {{ group.acronym }}</ a > .
23+ The file will appear under the materials tab in the group pages.
24+ </ p >
25+ {% elif action == "edit" %}
26+ < p >
27+ Below you can edit the details of the material for the group
28+ < a href ="{% url "group_materials " acronym=group.acronym %} "> {{ group.acronym }}</ a > .
29+ </ p >
30+ {% elif action == "revise" %}
31+ < p >
32+ Below you can upload a new revision of the material for the group
33+ < a href ="{% url "group_materials " acronym=group.acronym %} "> {{ group.acronym }}</ a > .
34+ </ p >
35+ {% endif %}
36+
37+ < h3 > Upload</ h3 >
38+
39+ < form class ="upload-material " method ="post " enctype ="multipart/form-data "> {% csrf_token %}
40+ < table >
41+ {{ form.as_table }}
42+
43+ < tr class ="submit-row ">
44+ < td colspan ="2 ">
45+ < a class ="button " href ="{% url "group_materials " acronym=group.acronym %} "> Cancel</ a >
46+ < input class ="submit button " type ="submit " value ="Save " />
47+ </ td >
48+ </ tr >
49+ </ table >
50+ </ form >
51+
52+ {% endblock content %}
You can’t perform that action at this time.
0 commit comments