summaryrefslogtreecommitdiff
path: root/app/views/users/show.html.haml
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-27 16:32:50 +0200
committerAzul <azul@leap.se>2014-05-27 16:32:50 +0200
commitcc59ce53e52bf48d97de16d66012e8309bf98fe8 (patch)
tree8b32b2a2f791723fe93b5d73fcc104d6a9729355 /app/views/users/show.html.haml
parent863863ff1fb6c9ab13b44248417ae1c5e57987af (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/users/show.html.haml')
-rw-r--r--app/views/users/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml
index 6760099..da8e467 100644
--- a/app/views/users/show.html.haml
+++ b/app/views/users/show.html.haml
@@ -2,6 +2,6 @@
.container-fluid
.row-fluid
%h4 To use bitmask services:
- = link_to client_download_url, class: "btn btn-primary" do
+ = btn client_download_url, type: "primary" do
%i.icon-arrow-down.icon-white
= t(:download_bitmask)