Sha256: 61d234514fbb952afe4caa290a494ed6ae51b057c741b40f872bcc60663654ff

Contents?: true

Size: 455 Bytes

Versions: 3

Compression:

Stored size: 455 Bytes

Contents

- # Override this file in your app path in order to have the
- # 'add structureable' button show additional entries.
- # 
- # locals:
- #   - parent
- #
- # Example:
- #
- #   %li
- #     link_to 'Add Product', new_product_path(parent_id: parent.id, parent_type: parent.class.name)
- #

- if can?(:create_user_for, parent) and parent.kind_of?(Group)
  %li
    = link_to I18n.t(:person), new_user_path(parent_id: parent.id, parent_type: parent.class.name)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
your_platform-1.0.1 app/views/layouts/_add_structureable_additions.html.haml
your_platform-1.0.0 app/views/layouts/_add_structureable_additions.html.haml
your_platform-0.0.2 app/views/layouts/_add_structureable_additions.html.haml