payment.amount is text
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 24 Jan 2013 00:42:36 +0000 (01:42 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 24 Jan 2013 00:42:36 +0000 (01:42 +0100)
app/partials/accepted.html.ep

index 9d6d999..7ddb4f1 100644 (file)
@@ -20,10 +20,12 @@ hr => 'Provjerena registracija' %>
 </legend>
 
 <input
-       type="number"
+       type="text"
        ng-model="registration.payment.amount"
        class="my-label-input"
        label="<%= locale en => 'Amount', hr => 'Iznos' %>"
+       placeholder="50.00 kn"
+       ng-filter="[0-9]+[\.\,]*[0-9]+\s*(kn|eu)"
 >
 
 <input