Class: Alchemy::Admin::LinkDialog::ProductTab
- Inherits:
-
BaseTab
- Object
- BaseTab
- Alchemy::Admin::LinkDialog::ProductTab
- Defined in:
- app/components/alchemy/admin/link_dialog/product_tab.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.panel_name ⇒ Object
17 18 19 |
# File 'app/components/alchemy/admin/link_dialog/product_tab.rb', line 17 def self.panel_name :product end |
.product_select_class ⇒ Object
9 10 11 |
# File 'app/components/alchemy/admin/link_dialog/product_tab.rb', line 9 def self.product_select_class ProductSelect end |
Instance Method Details
#fields ⇒ Object
21 22 23 24 25 26 27 |
# File 'app/components/alchemy/admin/link_dialog/product_tab.rb', line 21 def fields [ product_select, title_input, target_select ] end |
#message ⇒ Object
29 30 31 |
# File 'app/components/alchemy/admin/link_dialog/product_tab.rb', line 29 def (:info, content_tag("h3", Alchemy.t(:choose_product_to_link))) end |
#title ⇒ Object
13 14 15 |
# File 'app/components/alchemy/admin/link_dialog/product_tab.rb', line 13 def title Alchemy.t("link_overlay_tab_label.product") end |