Add edit functionality for financial links

This commit is contained in:
Patrick Gansterer 2018-10-11 22:16:50 +02:00
parent f0a55fb951
commit 707501e3f8
13 changed files with 169 additions and 6 deletions

View file

@ -20,3 +20,6 @@
%td
- if t.financial_link
= link_to t('ui.show'), finance_link_path(t.financial_link)
- else
= link_to t('.add_financial_link'), finance_links_path(bank_transaction: t.id),
method: :post, class: 'btn btn-success btn-mini'