Factor out the update button into its own small template

For code reuse, you know
This commit is contained in:
Eli Ribble 2016-08-10 16:58:55 -06:00
parent 23ca01f1b1
commit 8d0d8d72b1
3 changed files with 6 additions and 4 deletions

View file

@ -11,10 +11,7 @@
<td>{{ account.source.name }}</td>
<td>{{ account.last_updated }}</td>
<td>
<form method="POST" action="/update/">
<input type="hidden" name="account_uuid" value="{{ account.uuid }}"></input>
<input type="submit" value="Update" class="btn btn-primary"></input>
</form>
{% include 'update_button.html' %}
</td>
</tr>
{% endfor %}