Class: MindWordsWidget

Inherits:
Object
  • Object
show all
Defined in:
lib/mindwords.rb

Instance Method Summary collapse

Constructor Details

#initializeMindWordsWidget



501
502
503
# File 'lib/mindwords.rb', line 501

def initialize()

end

Instance Method Details

#input(content: '', action: 'mwupdate', target: 'icontent') ⇒ Object

can be used for main entries or a words list



508
509
510
511
512
513
514
515
516
517
518
# File 'lib/mindwords.rb', line 508

def input(content: '', action: 'mwupdate', target: 'icontent')

"<form action='\#{action}' method='post' target='\#{target}'>\n<textarea name='content' cols='30' rows='19'>\n\#{content}\n</textarea>\n<input type='submit' value='Submit'/>\n</form>\n"
end