fix #17 and s/Bedrag/Amount
This commit is contained in:
parent
dabfda6936
commit
305939712f
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
%span.input-group-addon
|
||||
%span.glyphicon.glyphicon-euro
|
||||
= f.number_field :euros, value: amount(@transaction.amount),
|
||||
placeholder: "Bedrag", step: 0.01, min: (0.01 unless current_user.penning),
|
||||
placeholder: "Amount", step: 0.01, min: (0.01 unless current_user.penning),
|
||||
class: "form-control", size: 20, required: true,
|
||||
max: (Rails.application.config.maximum_amount/100 unless current_user.penning)
|
||||
= f.submit "Send it!", class: "pure-button pure-button-primary btn"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%h2= @user.name
|
||||
%h2= "#{@user.name} (balance: #{@user.balance/100.0})"
|
||||
|
||||
= render 'transactions/new'
|
||||
|
||||
|
|
Loading…
Reference in a new issue