Sha256: fcf0870af01aaab40c4d803b04faf578d5714024bd23aa0f73740486b1720bb2

Contents?: true

Size: 543 Bytes

Versions: 30

Compression:

Stored size: 543 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, kind: @node.type.underscore)
- else
  - breadcrumbs.add yield(:title), push_type.new_node_path(kind: @node.type.underscore)

= 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

30 entries across 30 versions & 1 rubygems

Version Path
push_type_admin-0.9.5 app/views/push_type/nodes/new.html.haml
push_type_admin-0.9.3 app/views/push_type/nodes/new.html.haml
push_type_admin-0.9.2 app/views/push_type/nodes/new.html.haml
push_type_admin-0.9.1 app/views/push_type/nodes/new.html.haml
push_type_admin-0.9.0 app/views/push_type/nodes/new.html.haml
push_type_admin-0.9.0.beta.4 app/views/push_type/nodes/new.html.haml
push_type_admin-0.9.0.beta.3 app/views/push_type/nodes/new.html.haml
push_type_admin-0.9.0.beta.2 app/views/push_type/nodes/new.html.haml
push_type_admin-0.8.2 app/views/push_type/nodes/new.html.haml
push_type_admin-0.8.1 app/views/push_type/nodes/new.html.haml
push_type_admin-0.8.0 app/views/push_type/nodes/new.html.haml
push_type_admin-0.8.0.beta.3 app/views/push_type/nodes/new.html.haml
push_type_admin-0.8.0.beta.2 app/views/push_type/nodes/new.html.haml
push_type_admin-0.8.0.beta.1 app/views/push_type/nodes/new.html.haml
push_type_admin-0.7.0 app/views/push_type/nodes/new.html.haml
push_type_admin-0.7.0.beta.1 app/views/push_type/nodes/new.html.haml
push_type_admin-0.6.0 app/views/push_type/nodes/new.html.haml
push_type_admin-0.6.0.beta.4 app/views/push_type/nodes/new.html.haml
push_type_admin-0.6.0.beta.3 app/views/push_type/nodes/new.html.haml
push_type_admin-0.6.0.beta.2 app/views/push_type/nodes/new.html.haml