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/subscriptions/index.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/subscriptions/index.html.haml')
-rw-r--r-- | engines/billing/app/views/subscriptions/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/billing/app/views/subscriptions/index.html.haml b/engines/billing/app/views/subscriptions/index.html.haml index 3d4e8fd..1e3fb25 100644 --- a/engines/billing/app/views/subscriptions/index.html.haml +++ b/engines/billing/app/views/subscriptions/index.html.haml @@ -5,4 +5,4 @@ - pending_active_pastdue = true = render :partial => "subscription_details", :locals => {:subscription => s} - if !pending_active_pastdue and @user == current_user - = link_to 'subscribe to plan', new_subscription_path, :class => :btn
\ No newline at end of file + = btn 'subscribe to plan', new_subscription_path |