Sha256: 63bc416910a92421984191601b21b659d3ef547331d612c05c290cbc40214064
Contents?: true
Size: 635 Bytes
Versions: 4
Compression:
Stored size: 635 Bytes
Contents
# frozen_string_literal: true class SolidusAdmin::Taxes::Component < SolidusAdmin::UI::Pages::Index::Component def title safe_join([ tag.div(t(".title")), tag.div(t(".subtitle"), class: "font-normal text-sm text-gray-500"), ]) end def tabs [ { text: Spree::TaxCategory.model_name.human.pluralize, href: solidus_admin.tax_categories_path, current: model_class == Spree::TaxCategory, }, { text: Spree::TaxRate.model_name.human.pluralize, href: solidus_admin.tax_rates_path, current: model_class == Spree::TaxRate, }, ] end end
Version data entries
4 entries across 4 versions & 1 rubygems