Add label for card field

This commit is contained in:
stveep
2018-08-19 12:00:31 +01:00
parent 8c6b8d5e84
commit 17f2ba47ca

View File

@@ -10,4 +10,8 @@
= label_tag :cardholder_name, t(:cardholder_name)
.six.columns
= text_field_tag :cardholder_name, nil, {size: 40, "ng-model" => 'form_data.name'}
%stripe-elements
.row
.three.columns
= label_tag :card_details, t(:card_details)
.six.columns
%stripe-elements