File: speed_comment.rb

package info (click to toggle)
tdiary 2.2.1%2Bdfsg1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 14,044 kB
  • ctags: 2,796
  • sloc: ruby: 32,562; lisp: 514; makefile: 83; sh: 72; sql: 40
file content (12 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
def speed_comment_label
	'Speed TSUKKOMI'
end

def speed_comment_html
	<<-HTML
	<h3>Size of the form of Speed TSUKKOMI</h3>
	<p>Name: <input name="speed_comment.name_size" size="5" value="#{h(@conf['speed_comment.name_size']) || 20}"></p>
	<p>Body: <input name="speed_comment.body_size" size="5" value="#{h(@conf['speed_comment.body_size']) || 40}"></p>
	HTML
end