Sha256: 8a815e708328701cc702db825d87f21ceea0c08bf2e118022381c84167c52971

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

class ContactForm < Sequel::Model
  plugin :aura_sluggable      # Accessible via slug: /about-us/services
  plugin :aura_renderable     # Can show a page when accessed by that URL
  plugin :aura_editable
  #plugin :aura_hierarchy

  def self.show_on_sidebar?; true; end

  form do
    text :title, "Title", :class => 'title main-title'
    text :slug, "Slug", :class => 'compact hide'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aura-0.0.1.pre10 extensions/contact_form/models/contact_form.rb