Skip to content
Snippets Groups Projects
Commit 3c55bc47 authored by ArtOfCode-'s avatar ArtOfCode-
Browse files

Fix post type badge

parent 810b024c
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,8 @@ module PostTypesHelper ...@@ -5,7 +5,8 @@ module PostTypesHelper
'Article' => 'fas fa-newspaper' 'Article' => 'fas fa-newspaper'
}[type] }[type]
tag.span class: 'badge is-tag is-filled is-muted' do tag.span class: 'badge is-tag is-filled is-muted' do
"#{tag.i(class: icon_class)} #{tag.span(type)}" tag.i(class: icon_class) + " " +
tag.span(type)
end end
end end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment