Sha256: 0f78abe2732b86167a9cf24b4b1f63c4ab74ce7d72bf7a49e54839140259de1e
Contents?: true
Size: 449 Bytes
Versions: 45
Compression:
Stored size: 449 Bytes
Contents
class MediaPage < BasicPage self.route = "media" self.allow_create = false self.allow_destroy = false form do |f| f.inputs do f.input :title f.input :body f.input :images, as: :multiple_files do |h| h.inputs do h.input :title, as: :string h.input :choice, as: :select, collection: %w(A B C) h.input :check_it, as: :boolean end end end f.actions end end
Version data entries
45 entries across 45 versions & 1 rubygems