Sha256: 8df43ec4d980d8716eca2b8aafb10d468295c2ad799c5b6c1b542859628ad149

Contents?: true

Size: 1.48 KB

Versions: 9

Compression:

Stored size: 1.48 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
        icon_on_boolean: true
        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

9 entries across 9 versions & 2 rubygems

Version Path
fesplugas-typus-0.9.11 generators/typus/templates/config/typus/README
fesplugas-typus-0.9.12 generators/typus/templates/config/typus/README
fesplugas-typus-0.9.13 generators/typus/templates/config/typus/README
fesplugas-typus-0.9.14 generators/typus/templates/config/typus/README
fesplugas-typus-0.9.15 generators/typus/templates/config/typus/README
fesplugas-typus-0.9.16 generators/typus/templates/config/typus/README
fesplugas-typus-0.9.17 generators/typus/templates/config/typus/README
typus-0.9.18 generators/typus/templates/config/typus/README
typus-0.9.17 generators/typus/templates/config/typus/README