Use helper for font-awesome icons

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2016-03-03 16:38:15 +01:00
parent 1a0a687f21
commit 1e717988d7
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
- if current_user
.dropdown
%a.dropdown-toggle.btn{href: '#', "data-toggle" => "dropdown"}
%i.fa.fa-globe
= icon('globe')
%span.light Visibility:
- if params[:visibility_level].present?
= visibility_level_label(params[:visibility_level].to_i)
@ -21,7 +21,7 @@
- if @tags.present?
.dropdown
%a.dropdown-toggle.btn{href: '#', "data-toggle" => "dropdown"}
%i.fa.fa-tags
= icon('tags')
%span.light Tags:
- if params[:tag].present?
= params[:tag]