diff --git a/templates/account.html b/templates/account.html index 527d197..a3061e0 100644 --- a/templates/account.html +++ b/templates/account.html @@ -1,6 +1,7 @@ {% extends 'layout.html' %} {% block main_content %}

{{ account.name }}

+{% include 'update_button.html' %} diff --git a/templates/accounts.html b/templates/accounts.html index b2c954f..6559ba1 100644 --- a/templates/accounts.html +++ b/templates/accounts.html @@ -11,10 +11,7 @@ {% endfor %} diff --git a/templates/update_button.html b/templates/update_button.html new file mode 100644 index 0000000..5ed73f3 --- /dev/null +++ b/templates/update_button.html @@ -0,0 +1,4 @@ + + + +
Current balance{{ account.balance }}
Last updated{{ account.last_updated }}
{{ account.source.name }} {{ account.last_updated }} -
- - -
+ {% include 'update_button.html' %}