Sha256: bda6115cae73c982f8a0e029b98cc13805491f56b627706180ab2afaf17d5ea7

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

- title "New #{ @node.type.underscore.humanize.downcase }"

- if @parent
  - for node in @parent.self_and_ancestors.reverse
    - breadcrumbs.add node.title, push_type.node_nodes_path(node)
  - breadcrumbs.add yield(:title), push_type.new_node_node_path(@parent)
- else
  - breadcrumbs.add yield(:title), push_type.new_node_path

= render 'form_fields', url: @parent ? push_type.node_nodes_path(@parent, kind: @node.type.underscore) : push_type.nodes_path(kind: @node.type.underscore)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
push_type_admin-0.4.0 app/views/push_type/nodes/new.html.haml
push_type_admin-0.4.0.beta.3 app/views/push_type/nodes/new.html.haml