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 /app/views/pages | |
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 'app/views/pages')
-rw-r--r-- | app/views/pages/pricing.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/pages/pricing.html.haml b/app/views/pages/pricing.html.haml index e339d27..983501e 100644 --- a/app/views/pages/pricing.html.haml +++ b/app/views/pages/pricing.html.haml @@ -1,5 +1,5 @@ %h1= t(:pricing) -%p= link_to(icon('user') + t(:signup), signup_path, :class => 'btn') +%p= btn icon('user') + t(:signup), signup_path - levels = APP_CONFIG[:service_levels] - if levels |