Merge pull request #18 from ZeusWPI/fix/16

fix #16
This commit is contained in:
benji 2016-02-10 20:44:01 +01:00
commit dabfda6936

View file

@ -14,5 +14,6 @@
%span.glyphicon.glyphicon-euro
= f.number_field :euros, value: amount(@transaction.amount),
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"