OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix form
[pettanr/pettanr.git]
/
lib
/
locmare
/
form
/
field.rb
diff --git
a/lib/locmare/form/field.rb
b/lib/locmare/form/field.rb
index
fc24e93
..
5fa970b
100644
(file)
--- a/
lib/locmare/form/field.rb
+++ b/
lib/locmare/form/field.rb
@@
-60,6
+60,10
@@
module Locmare
self.template_dir + self.template_file_name
end
+ def template_option
+ {:field => self}
+ end
+
def row_break_template_dir
@form.template_dir + 'row_break/'
end