Add basic editing functionality

This commit is contained in:
2019-03-04 19:48:29 +00:00
parent eb7eabb7c7
commit c41141fea6
4 changed files with 60 additions and 31 deletions

View File

@ -37,7 +37,9 @@
<tr>
<td>{{ case.entry_name }}
<td>{% if case.approved %}Yes{% else %}No{% endif %}
<td><a href="{% url 'detail' case.slug %}">View</a> | Edit
<td>
<a href="{% url 'detail' case.slug %}">View</a> |
<a href="{% url 'edit' case.id %}">Edit</a>
{% endfor %}
</tbody>
</table>