summaryrefslogtreecommitdiff
path: root/app/views/common
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/common')
-rw-r--r--app/views/common/_action_buttons.html.haml6
-rw-r--r--app/views/common/_download_button.html.haml2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/common/_action_buttons.html.haml b/app/views/common/_action_buttons.html.haml
index 398d384..266abe1 100644
--- a/app/views/common/_action_buttons.html.haml
+++ b/app/views/common/_action_buttons.html.haml
@@ -1,11 +1,11 @@
.home-buttons
.row-fluid.second
.login.span4
- %span.link= link_to icon('ok-sign') + t(:login), login_path, :class => 'btn'
+ %span.link= btn icon('ok-sign') + t(:login), login_path
%span.info= t(:login_info, default: "")
.signup.span4
- %span.link= link_to icon('user') + t(:signup), signup_path, :class => 'btn'
+ %span.link= btn icon('user') + t(:signup), signup_path
%span.info= t(:signup_info, default: "")
.help.span4
- %span.link= link_to icon('question-sign') + t(:get_help), new_ticket_path, :class => 'btn'
+ %span.link= btn icon('question-sign') + t(:get_help), new_ticket_path
%span.info= t(:support_info, default: "")
diff --git a/app/views/common/_download_button.html.haml b/app/views/common/_download_button.html.haml
index d6d7bde..9c26860 100644
--- a/app/views/common/_download_button.html.haml
+++ b/app/views/common/_download_button.html.haml
@@ -2,7 +2,7 @@
.row-fluid.first
.span2
.download.span8
- = link_to client_download_url, class: "btn btn-large btn-primary" do
+ = btn client_download_url, type: [:large, :primary] do
= big_icon('download')
= t(:download_bitmask)
.span2