Class: Alchemy::Admin::LinkDialog::AnchorTab

Inherits:
BaseTab
  • Object
show all
Defined in:
app/components/alchemy/admin/link_dialog/anchor_tab.rb

Instance Attribute Summary

Attributes inherited from BaseTab

#link_target, #link_title, #url

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseTab

#initialize, #is_selected?

Methods included from BaseHelper

#alchemy_body_class, #alchemy_datepicker, #button_with_confirm, #clipboard_select_tag_options, #current_alchemy_user_name, #delete_button, #hint_with_tooltip, #link_to_confirm_dialog, #link_to_dialog, #link_url_regexp, #page_layout_missing_warning, #render_alchemy_title, #render_hint_for, #sites_for_select, #translations_for_select

Methods included from NavigationHelper

#alchemy_main_navigation_entry, #entry_active?, #main_navigation_css_classes, #navigate_module, #sorted_alchemy_modules, #url_for_module, #url_for_module_sub_navigation

Methods included from BaseHelper

#render_icon, #render_message, #warning

Constructor Details

This class inherits a constructor from Alchemy::Admin::LinkDialog::BaseTab

Class Method Details

.panel_nameObject



11
12
13
# File 'app/components/alchemy/admin/link_dialog/anchor_tab.rb', line 11

def self.panel_name
  :anchor
end

Instance Method Details

#fieldsObject



15
16
17
18
19
20
# File 'app/components/alchemy/admin/link_dialog/anchor_tab.rb', line 15

def fields
  [
    dom_id_select,
    title_input
  ]
end

#messageObject



22
23
24
# File 'app/components/alchemy/admin/link_dialog/anchor_tab.rb', line 22

def message
  render_message(:info, ("p", Alchemy.t(:anchor_link_headline)))
end

#titleObject



7
8
9
# File 'app/components/alchemy/admin/link_dialog/anchor_tab.rb', line 7

def title
  Alchemy.t("link_overlay_tab_label.anchor")
end