File: speed_comment.rb

package info (click to toggle)
tdiary 5.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,092 kB
  • sloc: ruby: 23,031; javascript: 1,029; xml: 325; makefile: 26; sh: 2
file content (19 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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


# Local Variables:
# mode: ruby
# indent-tabs-mode: t
# tab-width: 3
# ruby-indent-level: 3
# End: