Sha256: 3f080d9af40ca0fb935b38d7247449493e1f973dd45547ca20dab01cff2cdac3

Contents?: true

Size: 1.45 KB

Versions: 17

Compression:

Stored size: 1.45 KB

Contents

This is an example of a **Typus** enabled model with all available 
options. You can use this example to customize your YAML files which 
only have set the most common settings.

    Post:
      fields:
        list: id, title, category_id, created_at, is_published?
        form: title, body, is_published?, created_at
        show: title, category, is_published?
        relationship: title, status
        options:
          auto_generated:
          booleans:
            is_published: ["Yes, it is", "No, it isn't"]
          date_formats:
            created_at: post_long
          selectors:
          read_only:
          tiny_mce:
            fields: body
            options:
              theme: simple
              theme_advanced_buttons3_add:
                - fulscreen
              plugins:
                - fulscreen
      actions:
        index: cleanup
        edit: send_as_newsletter
        show: rebuild
      export: csv, xml, pdf
      order_by: created_at
      relationships:
      filters: is_published?, created_at, category_id
      search: title, body
      application: Application
      description: Some text to describe the model
      options:
        default_action_on_item: show
        end_year: 2015
        form_rows: 25
        index_after_save: false
        minute_step: 15
        nil: 'nil'
        on_header: true
        only_user_items: true
        per_page: 5
        sidebar_selector: 5
        start_year: 1990
        toggle: true

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
typus-0.9.35 generators/typus/templates/config/typus/README
typus-0.9.34 generators/typus/templates/config/typus/README
typus-0.9.33 generators/typus/templates/config/typus/README
typus-0.9.32 generators/typus/templates/config/typus/README
typus-0.9.31 generators/typus/templates/config/typus/README
typus-0.9.30 generators/typus/templates/config/typus/README
typus-0.9.29 generators/typus/templates/config/typus/README
typus-0.9.28 generators/typus/templates/config/typus/README
typus-0.9.27 generators/typus/templates/config/typus/README
typus-0.9.26 generators/typus/templates/config/typus/README
typus-0.9.25 generators/typus/templates/config/typus/README
typus-0.9.24 generators/typus/templates/config/typus/README
typus-0.9.23 generators/typus/templates/config/typus/README
typus-0.9.22 generators/typus/templates/config/typus/README
typus-0.9.21 generators/typus/templates/config/typus/README
typus-0.9.20 generators/typus/templates/config/typus/README
typus-0.9.19 generators/typus/templates/config/typus/README