lib/engine2/templates.rb in engine2-1.0.5 vs lib/engine2/templates.rb in engine2-1.0.6
- old
+ new
@@ -75,9 +75,17 @@
length: length,
animation: BS_ANIMATION
})
end
+ def list_bsmselect length, options = {}
+ options.merge({
+ template: "fields/list_bsmselect",
+ length: length,
+ animation: BS_ANIMATION
+ })
+ end
+
def list_buttons options = {}
options.merge({
template: options[:optional] ? "fields/list_buttons_opt" : "fields/list_buttons"
})
end
\ No newline at end of file