Permalink
Browse files

label for fix

  • Loading branch information...
1 parent 4ed2ee4 commit 6295fc71798247418a04b7fa6520fe2668120416 Neeraj Singh committed Aug 28, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/assets/javascripts/templates/creditcard.handlebars
@@ -6,7 +6,7 @@
<div class="control-group">
<div class="controls">
<div class="input-append">
- <label class="control-label">
+ <label {{bindAttr for="view.name.elementId"}} class="control-label">
Name
</label>
{{view Payment.CardTextField viewName="name" valueBinding="name" class="span2"}}
@@ -20,7 +20,7 @@
<div class="control-group">
<div class="controls">
<div class="input-append">
- <label class="control-label">
+ <label {{bindAttr for="view.cardnumber.elementId"}} class="control-label">
Credit card number
</label>
{{view Payment.CardTextField viewName="cardnumber" valueBinding="cardnumber" class="input-xlarge"}}
@@ -34,7 +34,7 @@
<div class="control-group">
<div class="controls">
<div class="input-append">
- <label class="control-label">
+ <label {{bindAttr for="view.csv.elementId"}} class="control-label">
CSV
</label>
{{view Payment.CardTextField viewName="csv" valueBinding="csv" class="input-small"}}

0 comments on commit 6295fc7

Please sign in to comment.