Merge pull request #19 from ZeusWPI/fix/17

fix #17 and s/Bedrag/Amount
This commit is contained in:
benji 2016-02-10 20:52:01 +01:00
commit 812343f1ac
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@
%span.input-group-addon %span.input-group-addon
%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: "Amount", step: 0.01, min: (0.01 unless current_user.penning),
class: "form-control", size: 20, required: true, class: "form-control", size: 20, required: true,
max: (Rails.application.config.maximum_amount/100 unless current_user.penning) 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"

View file

@ -1,4 +1,4 @@
%h2= @user.name %h2= "#{@user.name} (balance: #{@user.balance/100.0})"
= render 'transactions/new' = render 'transactions/new'