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
|
@ -1,6 +1,7 @@
|
|||
{% extends 'layout.html' %}
|
||||
{% block main_content %}
|
||||
<h1>{{ account.name }}</h1>
|
||||
{% include 'update_button.html' %}
|
||||
<table class="table">
|
||||
<tr><td>Current balance</td><td>{{ account.balance }}</td></tr>
|
||||
<tr><td>Last updated</td><td>{{ account.last_updated }}</td></tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue