mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Made language input as table
This commit is contained in:
parent
7da126c2f0
commit
b04757c176
@ -4,7 +4,18 @@
|
|||||||
{% block meta %}{% endblock %}
|
{% block meta %}{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<form method="post">
|
<form method="post">
|
||||||
{% csrf_token %}{{ project_form }}
|
{% csrf_token %}
|
||||||
|
{{ project_form.as_p }}
|
||||||
|
<table>
|
||||||
|
{{ language_formset.management_form }}
|
||||||
|
{% for form in language_formset %}
|
||||||
|
<tr>
|
||||||
|
<td>{{ form.language.label_tag }}</td>
|
||||||
|
<td>{{ form.language }}</td>
|
||||||
|
<td>{{ form.percentage }}</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</table>
|
||||||
<button type="submit">Post</button>
|
<button type="submit">Post</button>
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user