fix #16
This commit is contained in:
parent
ac2dbee62b
commit
227903c88f
1 changed files with 2 additions and 1 deletions
|
@ -14,5 +14,6 @@
|
||||||
%span.glyphicon.glyphicon-euro
|
%span.glyphicon.glyphicon-euro
|
||||||
= f.number_field :euros, value: amount(@transaction.amount),
|
= f.number_field :euros, value: amount(@transaction.amount),
|
||||||
placeholder: "Bedrag", step: 0.01, min: (0.01 unless current_user.penning),
|
placeholder: "Bedrag", step: 0.01, min: (0.01 unless current_user.penning),
|
||||||
class: "form-control", size: 20, max: Rails.application.config.maximum_amount/100, required: true
|
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"
|
= f.submit "Send it!", class: "pure-button pure-button-primary btn"
|
||||||
|
|
Loading…
Reference in a new issue