Factor out the update button into its own small template
For code reuse, you know
This commit is contained in:
parent
23ca01f1b1
commit
8d0d8d72b1
3 changed files with 6 additions and 4 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue