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

Constants inherited from Spree::PageBlock

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

Methods inherited from Spree::PageBlock

#form_partial_name

Instance Method Details

#display_nameObject



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_nameObject



13
14
15
# File 'app/models/spree/page_blocks/products/title.rb', line 13

def icon_name
  'h-1'
end