Sha256: ab17e937b002add574bb852d6426fd0015c1833fb7611ba2002bee96530c530f

Contents?: true

Size: 573 Bytes

Versions: 14

Compression:

Stored size: 573 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_admin.node_nodes_path(node)
  - breadcrumbs.add yield(:title), push_type_admin.new_node_node_path(@parent, kind: @node.type.underscore)
- else
  - breadcrumbs.add yield(:title), push_type_admin.new_node_path(kind: @node.type.underscore)

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
push_type_admin-0.12.1 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.12.0 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.12.0.beta.1 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.11.2 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.11.1 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.11.0.beta.2 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.11.0.beta.1 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.10.4 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.10.3 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.10.2 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.10.1 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.10.0 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.10.0.beta.5 app/views/push_type/admin/nodes/new.html.haml
push_type_admin-0.10.0.beta.3 app/views/push_type/admin/nodes/new.html.haml