Class: ODDB::View::Admin::IndicationForm

Inherits:
DescriptionForm show all
Defined in:
src/view/admin/indication.rb

Constant Summary

DESCRIPTION_CSS =
'xl'

Constants inherited from DescriptionForm

COMPONENTS, DEFAULT_CLASS, DELETE_BUTTON, DESCRIPTION_CSS, EVENT, LABELS

Constants included from FormMethods

ACCEPT_CHARSET, DEFAULT_CLASS, EVENT

Instance Method Summary (collapse)

Methods inherited from DescriptionForm

#init

Methods included from FormMethods

#delete_item, #delete_item_warn, #get_event_button, #post_event_button

Instance Method Details

- (Object) languages



12
13
14
# File 'src/view/admin/indication.rb', line 12

def languages
  super + ['lt', 'synonym_list']
end

- (Object) synonym_list(*args)



15
16
17
18
19
# File 'src/view/admin/indication.rb', line 15

def synonym_list *args
  input = super
  input.value = @model.synonyms.join(' | ')
  input
end