Skip to content

Commit

Permalink
feat(spend money): add the instruction (#212)
Browse files Browse the repository at this point in the history
* feat(spend money): add the instruction

* feat(spend money): change the explanation
  • Loading branch information
andreybakanovsky authored Oct 23, 2023
1 parent b9f06ee commit 670e4d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/spends/new.html.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.columns.is-centered
.column.is-one-third
h1.title.is-5.has-text-centered
| Spend from account:
| Deduct from account:
.subtitle.is-5.has-text-centered
= link_to account.name, account_path(account)
.subtitle.is-6.has-text-centered
Expand All @@ -13,7 +13,8 @@
= link_to 'All Balance', '#', class: 'button is-small is-light all-balance-button', data: { balance: account.balance }
.field
= f.text_field :description, class: 'input decscription', placeholder: "Description"

.notification.is-light
| Deduct funds from your kid's balance for expenses like toys, gadgets, entertainment tickets, and other non-budgeted items. In rare cases, use it to fine your child for discipline
.buttons.is-flex.is-justify-content-flex-end
= link_to request.referer, class: 'button is-light' do
span.icon
Expand Down

0 comments on commit 670e4d3

Please sign in to comment.