diff --git a/forms/top_up.rb b/forms/top_up.rb index 5864326ebd50f44446e81852f62884763e913a25..264a3d116a2ebe8ebf8666ecad5c2ab78e3b2269 100644 --- a/forms/top_up.rb +++ b/forms/top_up.rb @@ -1,7 +1,7 @@ form! title "Buy Account Credit" -if @max_top_up_amount & @max_top_up_amount.positive? +if @max_top_up_amount&.positive? instructions "Max amount: $#{@max_top_up_amount}" end