Class: Spree::PageBlocks::Products::Title
- Inherits:
-
Heading
show all
- Defined in:
- app/models/spree/page_blocks/products/title.rb
Constant Summary
collapse
- TOP_PADDING_DEFAULT =
16
Constants inherited
from Heading
Heading::SIZE_DEFAULT
Spree::PageBlock::BOTTOM_PADDING_DEFAULT, Spree::PageBlock::CONTAINER_ALIGNMENT_DEFAULT, Spree::PageBlock::SIZE_DEFAULT, Spree::PageBlock::TEXT_ALIGNMENT_DEFAULT, Spree::PageBlock::WIDTH_DESKTOP_DEFAULT
Instance Method Summary
collapse
#form_partial_name
Instance Method Details
#display_name ⇒ Object
9
10
11
|
# File 'app/models/spree/page_blocks/products/title.rb', line 9
def display_name
I18n.t('activerecord.attributes.spree/product.name')
end
|
#icon_name ⇒ Object
13
14
15
|
# File 'app/models/spree/page_blocks/products/title.rb', line 13
def icon_name
'h-1'
end
|