diff options
author | Azul <azul@leap.se> | 2014-05-27 16:32:50 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-05-27 16:32:50 +0200 |
commit | cc59ce53e52bf48d97de16d66012e8309bf98fe8 (patch) | |
tree | 8b32b2a2f791723fe93b5d73fcc104d6a9729355 /engines/billing/app/views/customer/confirm.html.haml | |
parent | 863863ff1fb6c9ab13b44248417ae1c5e57987af (diff) |
add btn helper for link_to with .btn
Also translates the first arg if it's a symbol and adds more btn- classes if given as html_options[:type]
Diffstat (limited to 'engines/billing/app/views/customer/confirm.html.haml')
-rw-r--r-- | engines/billing/app/views/customer/confirm.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/billing/app/views/customer/confirm.html.haml b/engines/billing/app/views/customer/confirm.html.haml index 877a8ac..eab9616 100644 --- a/engines/billing/app/views/customer/confirm.html.haml +++ b/engines/billing/app/views/customer/confirm.html.haml @@ -11,4 +11,4 @@ - @result.customer.credit_cards.each do |cc| %dd= cc.masked_number - customer = Customer.find_by_user_id(@user.id) -= link_to 'View Customer Info', show_customer_path(@user.id), :class=> :btn
\ No newline at end of file += btn 'View Customer Info', show_customer_path(@user.id) |