Sha256: e15fb65119efcb89a7ef7fdc2ec51631740852a1a9f5ef0df4aa301a94bba57e
Contents?: true
Size: 440 Bytes
Versions: 3
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryDocuments module Admin module ButtonHelper def button_builder(btn_title, icon: "document") btn_icon(icon, btn_title) + content_tag(:span, btn_title) end def btn_icon(icon, label) icon(icon, class: "icon--document icon icon icon-document mr-xs", aria_label: label, role: "img") end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems