8000 Fix up html formatting · jtratner/django-turtle-shell@43bb39a · GitHub
[go: up one dir, main page]

Skip to content

Commit 43bb39a

Browse files
committed
Fix up html formatting
1 parent 9f0e753 commit 43bb39a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

turtle_shell/templates/turtle_shell/overview.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,21 @@
44
<div class="container">
55
<table class="table table-striped table-responsive">
66
<thead><tr><th scope="col">Function</th><th></th><th>Description</th></tr></thead>
7+
<tbody>
78
{% for elem in functions %}
89
<tr>
910
<td><a href="{% url 'turtle_shell:list-'|add:elem.name %}">{{elem.name}}</a></td>
1011
<td>
11-
<form target="{% url 'turtle_shell:create-'|add:elem.name %}">
12-
<button type="button" class="btn btn-secondary" data-toggle="tooltip" title="Create {{elem.name}}" aria-label="Create {{elem.name}}">
12+
<form action="{% url 'turtle_shell:create-'|add:elem.name %}" method="get">
13+
<button type="submit" class="btn btn-secondary" data-toggle="tooltip" title="Create {{elem.name}}" aria-label="Create {{elem.name}}">
1314
<i class="fas fa-plus-square"></i><span class="sr-only">Create New Execution</span>
1415
</button>
1516
</form>
1617
</td>
1718
<td>{% if elem.doc %} <pre class="pre-scrollable bg-dark text-light"><code>{{elem.doc}}</code></pre> {% endif %}</td>
1819
</tr>
1920
{% endfor %}
20-
</ul>
21+
</tbody>
22+
</table>
2123
</div>
2224
{% endblock content %}

0 commit comments

Comments
 (0)
0