X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=lib%2Flocal_manifest%2Fform%2Fuse%2Ffield%2Ftag%2Ftext.rb;fp=lib%2Flocal_manifest%2Fform%2Fuse%2Ffield%2Ftag%2Ftext.rb;h=538f15224a3090af7b34568d08061b1da97a616b;hb=b21fe9ee9fb90dd6a47987f89351536992d78b2a;hp=0000000000000000000000000000000000000000;hpb=cbdaff138774789348a9cb9615034fd9d0344c8e;p=pettanr%2Fpettanr.git diff --git a/lib/local_manifest/form/use/field/tag/text.rb b/lib/local_manifest/form/use/field/tag/text.rb new file mode 100644 index 00000000..538f1522 --- /dev/null +++ b/lib/local_manifest/form/use/field/tag/text.rb @@ -0,0 +1,25 @@ +module LocalManifest + module FormModule + module UseModule + module FieldModule + module TagModule + class TextTag < Base + attr :size + + def set_default + super + @args['options']['size'] ||= 20 + end + + def init + super + @size = @options['size'] + end + + end + + end + end + end + end +end