Sha256: 24b331e9b76a1e6ff83535e81337f878eb98728fe46519d678e84896e49aa0a6
Contents?: true
Size: 343 Bytes
Versions: 28
Compression:
Stored size: 343 Bytes
Contents
class ContactForm < Noodall::Component key :form_id, String has_one :form, :class => Noodall::Form allowed_positions :wide module ClassMethods def form_options lists = Noodall::Form.all(:fields => [:id, :title], :order => 'title ASC') lists.collect{|l| [l.title, l.id.to_s]} end end extend ClassMethods end
Version data entries
28 entries across 28 versions & 1 rubygems